In my code I have a variable that contains a string. This string is one word. I wish to capitalize the first letter of this word. How can I do this?
to capitalize one word:
http://www.php.net/manual/en/function.ucfirst.php
or to capitalize the entire string:
http://www.php.net/manual/en/function.ucwords.php
...of a string...
then use ucfirst().
read the manual.
heh, believe it or not I actually did poke around the manual... thanks a lot though.
no problem. my 1st post wasn't very clear, and we still can't edit our posts =<.