/var/www/(Del)explorer-island.com/old/webadmin/aboutmodify.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php require("configure.php"); ?>
<?
$aboutid        
$_POST["aboutid"];
$abouttitleen    htmlspecialchars($_POST["abouttitleen"],ENT_QUOTES);
$aboutdescen    preg_replace("/'/","\'",$_POST["aboutdescen"]);
$abouttitletc    htmlspecialchars($_POST["abouttitletc"],ENT_QUOTES);
$aboutdesctc    preg_replace("/'/","\'",$_POST["aboutdesctc"]);
$i_pref     $_POST["orderno"];


$sql "update about set aboutid='$aboutid', abouttitleen='$abouttitleen', aboutdescen='$aboutdescen', abouttitletc='$abouttitletc', aboutdesctc='$aboutdesctc' ";
$sql .= ", pref=$i_pref where aboutid="$aboutid ." ";
//echo $sql;
mysql_query($sql);
mysql_close($dbh);

header("Location: aboutindex.php?msg=Update Successful");
?>