ucwords()
ucwords - Uppercase the first character of each word in a string
Syntax
string ucwords (
string $str)
Arguments
Description
Returns a string with the first character of each word in str capitalized, if that character is alphabetic.
Version
PHP 4, 5
Return value
Returns the modified string.