Form Input

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
William
Forum Contributor
Posts: 332
Joined: Sat Oct 25, 2003 4:03 am
Location: New York City

Form Input

Post by William »

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?
User avatar
William
Forum Contributor
Posts: 332
Joined: Sat Oct 25, 2003 4:03 am
Location: New York City

Post by William »

User avatar
William
Forum Contributor
Posts: 332
Joined: Sat Oct 25, 2003 4:03 am
Location: New York City

Post by William »

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

Post by malcolmboston »

holy <span style='color:blue' title='I&#39;m naughty, are you naughty?'>smurf</span>, nice command prompt :lol:
Post Reply