1
2
3
4
5
6
7
8
9
10
11
|
<?php require("configure.php"); ?> <? $gallerycatid = $_POST["gallerycatid"]; //$gallerycattype = $_POST["gallerycattype"]; $gallerycattype = htmlspecialchars($_POST["gallerycattype"],ENT_QUOTES);
mysql_query("update gallerycat set gallerycattype = '$gallerycattype' where gallerycatid=". $gallerycatid ." "); mysql_close($dbh);
header("Location: gallerycatindex.php?msg=Update Successful"); ?>
|