Created
October 26, 2012 20:00
-
-
Save george/3961115 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if($_POST[email] != '') | |
{ | |
$p = db_query_row("select user_userID from student where email = '$_POST[email]'"); | |
if($p[user_userID]) // taken | |
{ | |
js_alert("Sorry, that email address has an account already. If you lost your password please go to the lost password page from the login screen."); | |
js_back(); | |
die("Redirecting ..."); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$p = db_query_row("select user_userID from student where email = '$_POST[email]'"); | |
if($p[user_userID]) // taken | |
{ | |
js_alert("Sorry, that email address has an account all ready. If you lost your password please goto the lost password page from the login screen."); | |
js_back(); | |
die("Redirecting ..."); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment