Link to home
Start Free TrialLog in
Avatar of hankknight
hankknightFlag for Canada

asked on

Word Case (PHP)

Hello,

I want this:
        "this is a TEST"

To become this:
        "This Is A Test"

Avatar of hielo
hielo
Flag of Wallis and Futuna image

ucwords("this is a TEST");
ASKER CERTIFIED SOLUTION
Avatar of hielo
hielo
Flag of Wallis and Futuna image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
echo ucfirst('this is a TEST');
sorry it's

ucwords(strtolower('this is a TEST'));
@ehabafia: Didn't you just copied my posts? :)
No I am sorry I didn't, I just noticed it now, that we got the same one.  anyway I am sorry some times I don't even read the posts when I know the solutions.

any way, I am here just to help and learn and have fun in my spare time, which I believe we are all here for the same reason.

sorry again.  :),