I have this form, so when you type in a certain phrase, it will take you somewhere based on that phrase, but... it only works if I hit Enter on my keyboard. I'd like to work when you click the Submit button as well.
Anybody have any ideas?
<?php
// Portal Password if (isset($_POST['password'])) switch($_POST['password']) { case "pass1": header("Location: http://www.google.com/"); exit();
I have this form, so when you type in a certain phrase, it will take you somewhere based on that phrase, but... it only works if I hit Enter on my keyboard. I'd like to work when you click the Submit button as well.
Anybody have any ideas?
I've been examining the thing forever, and a little text change, and it fixed it. Thank youuuu :)