Advertisement
Guest User

Untitled

a guest
Aug 7th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. <?
  2. $name=$_POST['name'];
  3. $clan=$_POST['clan'];
  4. $reporter=$_POST['reporter'];
  5. $hack=$_POST['hack'];
  6.  
  7.  
  8. $mysql_host = "mysql16.000webhost.com";
  9. $mysql_database = "a3790586_data";
  10. $mysql_user = "a3790586_level14";
  11. $mysql_password = "hidden";
  12.  
  13. mysql_connect(localhost,$username,$password);
  14.  
  15.  
  16. mysql_query("INSERT INTO `data` VALUES ('$name', '$clan', '$reporter','hack')");
  17. Print "Your information has been successfully added to the database.";
  18. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement