Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- require "conf.inc.php";
- require "functions.php";
- $db = connectDb();
- var_dump($_GET["id"]);
- $query = $db->prepare("
- UPDATE USERS
- SET is_deleted=1
- WHERE id=:id
- ");
- $query->execute([
- "id"=>$_GET["id"]
- ]);
- header('location:index.php');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement