/var/www/(Del)standraise.com/admin/productcatmodifysc.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php require("configure.php"); ?>
<?
$productcatid        
$_POST["productcatid"];
//$productcatnamesc    = $_POST["productcatnamesc"];
$productcatnamesc    htmlspecialchars($_POST["productcatnamesc"],ENT_QUOTES);
$sortby                $_POST["sortby"];

$sql "update productcat set productcatid='$productcatid', productcatnamesc='$productcatnamesc', sortby='$sortby'";
$sql .= " where productcatid="$productcatid ." ";
mysql_query($sql);
mysql_close($dbh);

header("Location: productcatindexsc.php?pid=$productcatid&msg=Update Successful");
?>