Advertisement
Guest User

Untitled

a guest
Jun 11th, 2017
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.33 KB | None | 0 0
  1. <?php
  2.  
  3. require("con.php");
  4.  
  5. if(isset($_POST['subbed'])) {
  6.     $username = trim($_POST['username']);
  7.     $email = trim($_POST['email']);
  8.     $password = trim($_POST['password']);
  9.  
  10.     if($main->register($username, $email, $password)) {
  11.         echo "User created";
  12.     } else {
  13.         echo "An error has occurred";
  14.     }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement