On line 20 you are using a single "|" to mean "or". You need TWO since you are not doing bitwise OR-ing. Furthermore, that line should be: if(!isset($_POST['email']) || empty($_POST['email']) || !isset($_POST['pass']) || empty($_POST['pass']) )
Also, change mysql_fetch_array()
to mysql_fetch_assoc()
Lastly, IMMEDIATELY after the header("Location: account.php");
put exit();
Xtremefaith commented: Great help, patient enough to help me figure out a complicated issue +1
balle commented: Thanks it worked like a charm! =) +1
hielo 65 Veteran Poster
hielo 65 Veteran Poster
hielo 65 Veteran Poster