Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>delete</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- </head>
- <body>
- <?php
- $jazdec_id = $_POST['jazdec_id'];
- require "connect.php";
- if (!$spojenie):
- echo "Spojenie s DB sa nepodarilo !";
- else:
- $sql=MySQLi_Query($spojenie,"DELETE FROM jazdec WHERE
- jazdec_id = '$jazdec_id'");
- if (!$sql):
- echo "Doslo k chybe pri vytvarani SQL dotazu !";
- else:
- ?>
- <meta http-equiv="Refresh" content="0; url=skusam.php">
- <?php
- endif;
- endif;?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement