1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<?php require("configure.php");
$EnId = $_GET["EnId"];
// Delete db $sql = "DELETE FROM EnrollList WHERE EnId='". $EnId ."' "; mysql_query($sql); if( mysql_errno() > 0 ){ echo 'Enrollment List Delete Error:<br />'. mysql_error() .'<br />SQL: '. $sql; exit; }
mysql_close($dbh);
header("Location: enrolllist_index.php?msg=Delete Successful");
?>
|