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