SHARE
TWEET

Untitled

a guest Oct 4th, 2017 141 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. $name = $_POST['name'];
  4. $username = $_POST['username'];
  5. $password = $_POST['password'];
  6. $email = $_POST['email'];
  7.  
  8. mysql_connect("localhost","usernameChangeMe","passwordChangeMe");
  9. mysql_select_db("databaseChangeMe");
  10.  
  11. $query = "INSERT INTO tableChangeMe( Name, Username, Password, Email) VALUES ('$name','$username','$password','$email')";
  12.  
  13. $result = mysql_query($query) or die("Query Error" . mysql_error());
  14.  
  15.  
  16. ?>
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
 
Top