Jump to content

convert first letter of 2 words in a field


Pauls74462

Recommended Posts

//Upercase first letter of city$capitalizeFirst = ucfirst("$city");$city = $capitalizeFirst;

I found this code to convert "tulsa" to "Tulsa"But how do you convert "oklahoma city" to "Oklahoma City"where $city = city name field? :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...