📁 File Manager
Editing:
/home/wvl7mof7402e/www/remindyourdata.live/admin/medicaldelete.php
<?php include "dbconnect.php"; // Check if the 'id' parameter is set if (isset($_GET['id'])) { $id = (int)$_GET['id']; // Delete the medical record associated with this ID $sql = "DELETE FROM job_applicants WHERE id = $id"; if ($con->query($sql)) { // Redirect back to the list page after successful deletion header("Location: medicallist.php"); exit; } else { echo "Error deleting record: " . $con->error; } } else { echo "Invalid ID."; } ?>
Save
Cancel