1
2
3
4
5
6
7
8
9
10
11
12
|
<?php require("configure.php"); ?> <? $pid = $_POST["pid"]; //$productcatnamesc = $_POST["productcatnamesc"]; $productcatnamesc = htmlspecialchars($_POST["productcatnamesc"],ENT_QUOTES); $sortby = $_POST["sortby"];
mysql_query("insert into productcat (parentid, productcatnamesc, sortby) values ('$pid', '$productcatnamesc', '$sortby')"); mysql_close($dbh);
header("Location: productcatindexsc.php?pid=$pid&msg=Add Successful"); ?>
|