1
2
3
4
5
6
7
8
9
10
11
12
13
|
<?php require("configure.php"); ?> <? $specialId = $_POST["specialId"]; $specialcatname = htmlspecialchars($_POST["specialcatname"],ENT_QUOTES); $sortby = $_POST["sortby"];
$sql = "update special set specialId='$specialId', specialcatname='$specialcatname', sortby='$sortby'"; $sql .= " where specialId=". $specialId ." "; mysql_query($sql); mysql_close($dbh);
header("Location: specialindex.php?pid=$specialId&msg=Update Successful"); ?>
|