1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<? require("configure.php"); ?> <? $ccatid = $_GET["ccatid"];
$sql = "DELETE FROM coursecat WHERE ccatid=". $ccatid ." "; mysql_query($sql);
$sql2 = "DELETE FROM coursesub WHERE ccatid=". $ccatid ." "; mysql_query($sql2);
mysql_close($dbh);
header("Location: coursecatindex.php?msg=Update Successful"); ?>
|