Is there a way of changing only the 1st letter of a string to caps and the rest to lower?
eg: foo bar to
Foo Bar
Newman, search the PHP documentation before posting will you?
What you want is the function called ucwords()
http://jp.php.net/manual/en/function.ucwords.php
Jc
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php