mcmuney Posted August 29, 2006 Share Posted August 29, 2006 I have an input field where users type in information, but they use upper, lower and mixes. How can I update all the existing data on the DB to be all "Capitalized"? Link to comment https://forums.phpfreaks.com/topic/19049-changing-data/ Share on other sites More sharing options...
AndyB Posted August 29, 2006 Share Posted August 29, 2006 strtoupper() [url=http://ca3.php.net/manual/en/function.strtoupper.php]http://ca3.php.net/manual/en/function.strtoupper.php[/url] Link to comment https://forums.phpfreaks.com/topic/19049-changing-data/#findComment-82374 Share on other sites More sharing options...
fenway Posted August 29, 2006 Share Posted August 29, 2006 MySQL has an UPPER() function as well, AFAIK, and you can probably use this on the way in (in the INSERT/UPDATE statement). Link to comment https://forums.phpfreaks.com/topic/19049-changing-data/#findComment-82381 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.