Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require("con.php");
- if(isset($_POST['subbed'])) {
- $username = trim($_POST['username']);
- $email = trim($_POST['email']);
- $password = trim($_POST['password']);
- if($main->register($username, $email, $password)) {
- echo "User created";
- } else {
- echo "An error has occurred";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement