samedi 1 décembre 2018

i need help figuring out this php problem using files and if statemtents

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