Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if($_SERVER['REQUEST_METHOD']=='POST'){
- $fullname = $_POST['fullname'];
- $email = $_POST['email'];
- $username = $_POST['username'];
- $password = $_POST['password'];
- require_once('dbConnect.php');
- $sql = "INSERT INTO android-volley (fullname,email,username,password) VALUES ('$fullname','$email','$username','$password')";
- if(mysqli_query($con,$sql)){
- echo "Successfully Registered";
- }else{
- echo "Could not register";
- }}else{
- echo 'error';}?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement