/var/www/(Del)wah-tung.com/html/admin/specialadd.php


1
2
3
4
5
6
7
8
9
10
11
<?php require("configure.php"); ?>
<?
$pid                
$_POST["pid"];
$specialcatname        htmlspecialchars($_POST["specialcatname"],ENT_QUOTES);
$sortby                $_POST["sortby"];

mysql_query("insert into special (parentId, specialcatname, sortby) values ('$pid', '$specialcatname', '$sortby')");
mysql_close($dbh);

header("Location: specialindex.php?pid=$pid&msg=Add Successful");
?>