a guest Jan 20th, 2019 43 Never
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'");
RAW Paste Data