Jump to content

After Selecting Form Database How To I Preserve The Variable?


BrettHartel

Recommended Posts

Thank you for helping me!

 

For some reason $eMail gets set to nothing. I have the results echo and it is completely blank. What am I doing wrong?

 

 

$eMail = $_Post['eMail'];
$eMailResult = mysql_query("SELECT eMail FROM eMail WHERE eMail='$eMail'");
if (mysql_num_rows($eMailResult) == 0){/* eMail is Unique */}
else {
  $Error = "eMail already exists!";
  setcookie( "SignUp_Error", "$Error", time()+30, "/", ".diamondbookclub.com" );
  setcookie( "LogIn_Error", "$Error", time()-1, "/", ".diamondbookclub.com" );
 header('Location: index.php');   
  exit(0);
  }

 

Sincerely,

 

Brett Hartel

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.