a guest Jan 20th, 2019 43 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //checks if any info is already in the table, if there is, it delets it
  2.         $aye = mysql_query("SELECT username FROM `drunk_char` WHERE username = '$user'");
  3.         $aye2 = mysql_num_rows($aye);
  4.         while($aye2 > 0)
  5.         {
  6.         mysql_query("DELETE FROM `drunk_char` WHERE username = '$user'");
  7.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand