Me and my Teacher have both looked through it and I cant seem to find the error that makes it print "wrong" when the email in the file is the same as the one entered
EMail = $user[0]; echo $UserDet->EMail; $Email = $_GET['email']; $Email = (string)$Email; if($Email == $UserDet->EMail) { echo "correct"; } else { echo "wrong"; } } else { echo "No Account found"; } ?>
Aucun commentaire:
Enregistrer un commentaire