Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html lang="pl">
- <head>
- <meta charset="utf-8" />
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
- <title>Przychodnia - baza lekarzy</title>
- </head>
- <?php
- require_once "dbconnect.php";
- if(isset($_GET['del'])){
- $id = $_GET['del'];
- $delete_row=mysqli_query("DELETE from pacjenci WHERE id='$del[idlekarza]'");
- if($delete_row)
- {
- echo "Row deleted";
- echo "<br />";
- echo"<meta http-equiv='refresh' content='5;url=PrzegladajLekarzy.php'>";
- }else{
- echo "Błąd.";
- echo "$id";
- }
- }
- ?>
Add Comment
Please, Sign In to add comment