Crew-Portal Posted November 10, 2007 Share Posted November 10, 2007 K I know how to use strupper but I dont know how to use explode. So heres my question... Some people have no grammer skills so I have to fix them up myself before they get punched into the dbs so heres my problem. A user enters their first and last name in a single form that says Name (First / Last): So how do I make it so if the user enters "john doe", It will make the text "John Doe" Before enterting it into the database, basically the first letter capitalized and every other first letter capitalized after a space Link to comment https://forums.phpfreaks.com/topic/76763-solved-uppercase-after-space/ Share on other sites More sharing options...
Wuhtzu Posted November 10, 2007 Share Posted November 10, 2007 http://dk.php.net/ucwords Link to comment https://forums.phpfreaks.com/topic/76763-solved-uppercase-after-space/#findComment-388650 Share on other sites More sharing options...
Crew-Portal Posted November 10, 2007 Author Share Posted November 10, 2007 Oh And I thought it was going to be complicated! Thank you.... TOPIC SOLVED! Link to comment https://forums.phpfreaks.com/topic/76763-solved-uppercase-after-space/#findComment-388655 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.