Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. <?php
  2. require_once("../connection.php");
  3. $user = mysql_real_escape_string($_GET['user']);
  4.  
  5. $result = mysql_query("INSERT INTO user(`name`) VALUES('$user')");
  6. if(!$result) echo mysql_error();
  7. ?>