Advertisement
Guest User

Untitled

a guest
May 29th, 2016
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.23 KB | None | 0 0
  1. <?php
  2. include('pdo.php');
  3. $id = $_GET['id'];
  4.    $req = $bdd->prepare('DELETE FROM hiking  WHERE id = ? ');
  5. $req->execute(array(
  6.     $id
  7. ));
  8. header('Location: read.php');
  9. exit();
  10.  ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement