Quote:
Originally Posted by who
ucwords() php function
|
Good try, but you gotta make sure that there's no punctuation or other characters in the string.
HE SAID HIS NAME WAS "JOHN"
would become
He Said His Name Was "john" because PHP regards " as the beginning of the word.
Take a look at
http://us3.php.net/ucwords for some potential fixes.