update
This commit is contained in:
11
dolgozat/20220316/srcf2/delete.php
Normal file
11
dolgozat/20220316/srcf2/delete.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
include "kapcsolat.php";
|
||||
|
||||
try{
|
||||
deleteOne($dbc, 'pizzak', $_GET['id']);
|
||||
header('location: f2.php');
|
||||
}catch(Exception $exc){
|
||||
header("Location: hiba.php?hiba=" . $exc->getMessage());
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user