Guest User

Untitled

a guest
Jan 24th, 2019
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. <?php
  2. $a = mysql_fetch_row(mysql_query("SELECT id FROM catalog WHERE id = '1'"));
  3. if($a[0] == true)
  4. echo "Удаление выполнено было бы, если хотел меня удалить ;-)";
  5. ?>
  6.  
  7. BEGIN;
  8. DELETE FROM catalog WHERE id = '1'
  9. ROLLBACK;
Add Comment
Please, Sign In to add comment