Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <body>
- <?php
- include"koneksi.php";
- /*
- =================YAKIN INI NGAK SALAH NAMA VAR YG DITARIK DARI GET??
- */
- $id=$_GET['Id'];
- $Delete=mysql_query("DELETE from btamu where id=' $id'");
- if($Delete){
- echo"Data Sudah Terhapus !";
- }
- else
- {
- echo"Ada Listing Yang Belum Sesuai??";
- die(mysql_error());
- }
- /*
- anywaya km ngak bakal nemuin error krn langsung jalan ke tampil_tbl.php
- lalu buat apa di echo!!
- */
- ?>
- <script language="javascript" type="text/javascript">location.href='tampil_tbl.php';</script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement