Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $id=$_GET['id'];
- $result=mysqli_query($con,"DELETE FROM registre where id=$id");
- $stmt = $mysqli->prepare("DELETE FROM registre where id= ?");
- $bind = $stmt->bind_param('i', $id);
- $exec = $stmt->execute();
- // Close the prepared statement
- $stmt->close();
- // Close connection
- $mysqli->close();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement