Okay...let's play a little scenario here...
I want to make something happen in my PHP code...it's concerning something with strings, capitalizing the first letter of each word. I'm thinking.. "I should go to the manual, and look under string functions" So I go to php.net, find the manual, etc...
Scanning through the string functions, I see a function:
ucwords -- Uppercase the first character of each word in a string
Hmm..looks like that could be what I'm looking for...so I click on that link for the full description...
string ucwords (string str)
Capitalizes the first character of each word in str if that character is alphabetic.[/b]
BAMMM!! There it is...I've solved the problem on my own by reading a manual....I don't have to go around posting questions that make it obvious I've never been to PHP.net....
---JH
PS: The answer is ucwords($string);