Joined
·
1,205 Posts
What the hell is wrong with this code? it won't work! it keeps saying "nope!" this is the same code I used here, that works, but this doesn't! i'm going insane!
html code:
WHY IS IT NOT WORKING! THERE IS NOTHING WRONG!
PHP:
<?php
if ($_POST['Submit'] AND $_POST['pass'] == "ilovelambs")
{
echo "welcome to the password protected page";
}
else
{
echo "nope!";
}
?>
HTML:
password: