phpretard Posted June 16, 2008 Share Posted June 16, 2008 I would like to convert a post into uppercase letters before it is inserted into the DB. $lowercase="lowercase"; INSERT INTO table (letters) VALUES ('$lowercase') New Database value="LOWERCASE" Any help? Quote Link to comment https://forums.phpfreaks.com/topic/110488-solved-covert-to-uppercase-before-insert/ Share on other sites More sharing options...
trq Posted June 16, 2008 Share Posted June 16, 2008 strtoupper(). Quote Link to comment https://forums.phpfreaks.com/topic/110488-solved-covert-to-uppercase-before-insert/#findComment-566846 Share on other sites More sharing options...
phpretard Posted June 16, 2008 Author Share Posted June 16, 2008 Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/110488-solved-covert-to-uppercase-before-insert/#findComment-566851 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.