Page 1 of 1

Filtering Input

Posted: Thu Oct 03, 2002 5:53 pm
by Zoram
Is there a way to make it so that when a user submits a form all the words from one of the field will have the first letter capitalized?

Posted: Thu Oct 03, 2002 6:16 pm
by mr_griff
You can use the ucwords() function.

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