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