1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<?php require("configure.php"); ?> <? $contactusid = $_POST["contactusid"]; //$contactusdescsc = $_POST["contactusdescsc"]; $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: contactusmodifyformsc.php?msg=Update Successful"); ?>
|