Advertisement
Guest User

Untitled

a guest
Jul 12th, 2017
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.24 KB | None | 0 0
  1.   if(!empty($_POST)){
  2.     $username = $_POST['username'];
  3.     $email = $_POST['email'];
  4.     $password = $_POST['password'];
  5.     register($username, $email, $password); // register() is located in the model
  6.   } else {
  7.     // Do fuck all
  8.   }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement