Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /check if username is in use
- if (!get_magic_quotes_gpc()) {
- $_POST['username'] = addslashes($_POST['username']); }
- $usercheck= $_POST['username'];
- $check =mysql_query("SELECT username FROM users WHERE username= '$usercheck'")
- or die("Username in use");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement