Advertisement
Guest User

Untitled

a guest
Sep 1st, 2016
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. <?php
  2.  
  3. if($_SERVER['REQUEST_METHOD']=='POST'){
  4. $fullname = $_POST['fullname'];
  5. $email = $_POST['email'];
  6. $username = $_POST['username'];
  7. $password = $_POST['password'];
  8. require_once('dbConnect.php');
  9. $sql = "INSERT INTO android-volley (fullname,email,username,password) VALUES ('$fullname','$email','$username','$password')";
  10. if(mysqli_query($con,$sql)){
  11. echo "Successfully Registered";
  12. }else{
  13. echo "Could not register";
  14. }}else{
  15. echo 'error';}?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement