Form Input
Moderator: General Moderators
Form Input
Hello, I am making a command thing No clue exactly what I will make it for might even make it so if you type date() it whould show data on that function but anyways... How do I make the input from a form be all uncaps or somthing well I want it so when I ue if($somthing == "What they say") { $somthing = "Somthing"; }. But where 'What they say' part is I want it to have like lets say hi $message == "hi" ) { Print "You said Hi"; } now if they typed in Hi or hI it whouldnt work. How do I make it work with what ever they put?
nvm I guess I will just use strtoupper() = http://www.php.net/manual/en/function.strtoupper.php & strtolower() = http://www.php.net/manual/en/function.strtolower.php
O ya me again.... Here is the link to the command prompt. Not really good o well... http://www.thenetherrealm.com/command
-
malcolmboston
- DevNet Resident
- Posts: 1826
- Joined: Tue Nov 18, 2003 1:09 pm
- Location: Middlesbrough, UK