Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include "koneksi.php";
- $hapus_data = mysql_query("delete from tamu where id_bukutamu = '$_GET[id]'",$koneksi);
- if($hapus_data){
- ?>
- <script language="javascript">
- alert('Yakin lo mau di hapus, ga nyesel kan');
- document.location="lihat.php";
- </script>
- <?php
- }else{
- ?>
- <script language="javascript">
- alert('Gagal Menghapus Pesan Karena Gangguan Mental');
- document.location="lihat.php";
- </script>
- <?php
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement