SHARE
TWEET

Untitled

a guest Oct 15th, 2019 91 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. $id1 = $_GET['id'];
  4.  
  5. $sql = $koneksi->query("DELETE FROM tbl_data WHERE id='$id1'");
  6. if ($sql){
  7.     ?>
  8.  
  9.         <script type="text/javascript">
  10.             alert("Data Berhasil DiHapus");
  11.             window.location.href="?page=data";
  12.         </script>
  13.    
  14.     <?php
  15.  
  16. }
  17.  
  18.  ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top