1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<?php require("configure.php"); ?> <? $contactusId = $_POST["contactusId"]; $contactusdescjp = preg_replace("/'/","\'",$_POST["contactusdescjp"]);
$sql = "update contactus set contactusId='$contactusId', contactusdescjp='$contactusdescjp'"; $sql .= "where contactusId=". $contactusId ." ";
mysql_query($sql); mysql_close($dbh);
header("Location: contactusindex.php?msg=Update Successful"); ?>
|