i would like to force the first letter of a string to be uppercase, how do i do this ?
thanks
Jamie
Use ucfirst it will capitalise the first letter of each word.
$string="this is a string"; $newstring=usfirst($string);
$newstring then equals "This Is A String";
Mark.
just what i was looking for, cheers