$delete_query = $conn->query("DELETE FROM students WHERE st_id = '$student_id'"); $delete_admin_query = $conn->query("DELETE FROM admininfo WHERE phone = '$student ...