Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //checks if any info is already in the table, if there is, it delets it
- $aye = mysql_query("SELECT username FROM `drunk_char` WHERE username = '$user'");
- $aye2 = mysql_num_rows($aye);
- while($aye2 > 0)
- {
- mysql_query("DELETE FROM `drunk_char` WHERE username = '$user'");
- }
Add Comment
Please, Sign In to add comment