require_once("../conn.php");
require_once("access.php");
$CategoryID=$_GET[CategoryID];
$q1 = "select * from yellow_categories where CategoryID='$CategoryID'";
$r1 = mysql_query($q1) or die(mysql_error());
$a1 = mysql_fetch_array($r1);
if(isset($_POST[s1]) && !empty($_POST[NewCategory]))
{
$q1 = "insert into yellow_subcat set subcatname = '$_POST[NewCategory]',rootcatid='$_POST[CategoryID]'";
mysql_query($q1) or die("
CLASSIFIEDS v2.0
|