Advertisement
Guest User

hapus

a guest
Feb 16th, 2020
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.19 KB | None | 0 0
  1. <?php
  2. $id = @$_GET['id'];
  3. mysql_query("delete from tb_siswa where id = '$id'") or die (mysql_error());
  4. ?>
  5.  
  6. <script type="text/javascript">
  7.     window.location.href="?page=datasiswa";
  8. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement