View Single Post
Old 11-08-2006, 09:18 AM  
schneemann
Confirmed User
 
Join Date: Oct 2006
Posts: 749
Quote:
Originally Posted by who View Post
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.
__________________
Deranged World
schneemann is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote