View Full Version : Changing everything to lower or uppercase
Rockonmetal
09-19-2007, 06:09 PM
I was wondering if there is a script that can change everything in an input to lower or uppercase...
I have a form input on my page... And its sorta like a search and when someone uses uppercase then the whole thing gets messed up...
Thanks guys I know its a little short but its sorta hard to explain...
boogyman
09-19-2007, 06:19 PM
strtolower($tring);
strtoupper($tring);
see
http://us2.php.net/manual/en/function.strtolower.php
http://us2.php.net/manual/en/function.strtoupper.php
Rockonmetal
09-19-2007, 10:22 PM
k thanks man!!!
boogyman
09-19-2007, 11:35 PM
not that we don't want to help you, but for questions about variables and definitions and "general" try to do a google search first, or go on the site of that specific language.
eg. php = http://php.net
and if you are still having difficulty, then ask away... and give us a link to where you did the research so we can possibly inform them of how to make their tutorials / definitions more user friendly
Rockonmetal
09-19-2007, 11:38 PM
k i will keep that in mind thanks!
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.