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


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

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

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