Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $name = $_POST["name"];
- $age = $_POST["age"];
- $username = $_POST["username"];
- $password = $_POST["password"];
- $statement = mysqli_prepare($con, "INSERT INTO user (name, username, age, password) VALUES (?, ?, ?, ?)");
- $response = array();
- $response["success"] = true;
- print_r(json_encode($response));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement