1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<?php require("configure.php"); ?> <? $aboutusId = $_POST["aboutusId"]; $aboutusnamejp = htmlspecialchars($_POST["aboutusnamejp"],ENT_QUOTES); $aboutusdescjp = preg_replace("/'/","\'",$_POST["aboutusdescjp"]); $sortby = $_POST["sortby"];
$sql = "update aboutus set aboutusId='$aboutusId', aboutusnamejp='$aboutusnamejp', aboutusdescjp='$aboutusdescjp', sortby='$sortby'"; $sql .= " where aboutusId=". $aboutusId ." "; mysql_query($sql); mysql_close($dbh);
header("Location: aboutuscatindexjp.php?pid=$aboutusId&msg=Update Successful"); ?>
|