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