0){ $data=mysql_fetch_row($qry); $MSecName=$data[2]; } } mysql_free_result($qry); $qry=mysql_query("select * from tbl_section where SecID='".$SecID."' and MSecID='".$MSecID."' and lngid='".$LngID."'") or die("Invalid MSecID ".mysql_error()); if($qry){ $rows=mysql_num_rows($qry); if($rows>0){ $data=mysql_fetch_row($qry); $SecName=$data[3]; } } mysql_free_result($qry); $qry=mysql_query("select * from tbl_main where MainID='".$MainID."' and SecID='".$SecID."' and MSecID='".$MSecID."' and lngid='".$LngID."'") or die("Invalid MSecID ".mysql_error()); if($qry){ $rows=mysql_num_rows($qry); if($rows>0){ $data=mysql_fetch_row($qry); $MainName=$data[4]; } } mysql_free_result($qry); ?>
 
Manage Sub Categories

This is the fourth level for your product catgegories. Enter name for the categories in the text box and press submit to add a category at fourth level for products. To add product after fourth level click on items button. To set ranking for the categories enter number in the text box and press enter it will rearrange the categories. In Action panel there are two icons the left one for edit and the right one for deletion.
 
Name *
 
   
0){ ?>
Sub ID Sub Catg Name   Rank Action
Items