1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<?php require("configure.php"); ?> <? $catid = $_POST["catid"]; $catname = $_POST["catname"]; //$sortby = $_POST["sortby"]; //if (is_numeric($sortby)<>1) // $sortby = 0;
//$creationdate = date("F j, Y, g:i a");
mysql_query("update category set catname = '$catname' where catid=". $catid ." "); mysql_close($dbh);
header("Location: catmajindex.php?msg=Update Successful"); ?>
|