ok
Direktori : /proc/thread-self/root/proc/self/root/home/shopnoc1/public_html/ |
Current File : //proc/thread-self/root/proc/self/root/home/shopnoc1/public_html/delete.php |
<?php include("db.php"); if (isset($_GET['sid'])) { $id=$_GET['sid']; $delete = "DELETE FROM studentinfo WHERE id=$id"; if ($conn->query($delete) === TRUE) { Header( 'Location: dashboard.php'); } else { echo "Error deleting record: " . $conn->error; } $conn->close(); } ?>