Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. $id=$_GET['id'];
  2. $result=mysqli_query($con,"DELETE FROM registre where id=$id");
  3.  
  4. $stmt = $mysqli->prepare("DELETE FROM registre where id= ?");
  5. $bind = $stmt->bind_param('i', $id);
  6. $exec = $stmt->execute();
  7. // Close the prepared statement
  8. $stmt->close();
  9. // Close connection
  10. $mysqli->close();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement