Hi all,
Use this code
...............................
<?php
include('dbconnect.php');
// Use prepared statements to avoid SQL injection
$query = "delete FROM tbl_patient where id='$_GET[id]'";
mysqli_query($con, $query);
header('location:viewdoctor.php');
?>
No comments:
Post a Comment