PHP ~ Uppercase the first character of each word

print ucwords('xxxxxxxx yyyyyyyyyyyyy');

output
Xxxxxxxx Yyyyyyyyyyyyy

http://www.php.net/manual/en/function.ucwords.php

沒有留言: