Advertisement
Guest User

hov

a guest
Dec 12th, 2019
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. <html>
  2.  
  3. <head>
  4. <title>delete</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. </head>
  7.  
  8. <body>
  9.  
  10. <?php
  11.  
  12. $jazdec_id = $_POST['jazdec_id'];
  13.  
  14.  
  15. require "connect.php";
  16. if (!$spojenie):
  17. echo "Spojenie s DB sa nepodarilo !";
  18. else:
  19. $sql=MySQLi_Query($spojenie,"DELETE FROM jazdec WHERE
  20. jazdec_id = '$jazdec_id'");
  21. if (!$sql):
  22. echo "Doslo k chybe pri vytvarani SQL dotazu !";
  23. else:
  24. ?>
  25. <meta http-equiv="Refresh" content="0; url=skusam.php">
  26. <?php
  27. endif;
  28. endif;?>
  29.  
  30. </body>
  31. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement