Guest User

Untitled

a guest
Nov 11th, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. if (isset($_POST['createaccount'])) {
  2. $username = $_POST['username'];
  3. $password = $_POST['password'];
  4. $email = $_POST['email'];
  5.  
  6. DB::query('INSERT INTO users VALUES ('', :username, :password, :email)', array('username'=>$username, 'password'=>$password, 'email'=>$email));
  7. echo "Success!";
Add Comment
Please, Sign In to add comment