Advertisement
Guest User

del

a guest
Apr 26th, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. <?php
  2. include_once 'nowy.php';
  3. $conn = Connect();
  4.  
  5. $id = $_GET['id'];
  6. $sql = "delete from Tab1 where Id=".$id;
  7. if(!mysqli_query($conn, $sql)){
  8. echo "error: ".mysqli_error($conn);
  9. }else{
  10. echo "Usunieto rekord<br>";
  11. }
  12.  
  13.  
  14. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement