Results 1 to 4 of 4
Thread: UCFirst Problem
Apr 19, 2013, 17:17 #1
- Join Date
- Sep 2007
- 0 Post(s)
- 0 Thread(s)
I am trying to use ucfirst on my variable:
$subject = ucfirst($_POST['subject']);
it dosnt seem to work properly for example:
I type test it outputs to Test - which is fine.
I type tEsT and it outputs as TEsT.
how can I change it so no matter what I type it outputs the first letter as a capital and the rest lowercase?Animated Chatrooms - www.121chatrooms.net