mcgeorge40
asked on
PHP- capitalize all words in a string
Hello! I've been sitting here Googling this, but getting frustrated because I can't find the PHP code for what I want to do specifically:
$string = I want to CAPITALIZE all WOrds IN a sTRING
How can I make the above string read:
$string = I Want To Capitalize All Words In A Strong
Thank you in advance!!!
$string = I want to CAPITALIZE all WOrds IN a sTRING
How can I make the above string read:
$string = I Want To Capitalize All Words In A Strong
Thank you in advance!!!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
With PHP's schizophrenic function-naming conventions, typos are often easy to come by, and difficult to spot. I'm glad it is working for you now!
ASKER