/* Project Name : imoxie.com Program name : subcategory_product.php Program function : page for subcategory_products Author : Aneeshlal Developed by : colbridge Created Date : 2 nov 2007 Update History ------------------------------------------------------------------- Date By short desc. of what updated 13 nov 2007 Rajmohan R modifications done 14 nov 2007 Rajmohan R -------------------------------------------------------------------*/ session_start(); include("./include/global.php"); $title="Sub Category Products"; include("./header.php"); $cater_val=$_REQUEST['cat_val']; switch($cater_val){ case 1:$image_name="Clinical_Skin_Care.jpg"; break; case 2:$image_name="Mineral_Make_Up.jpg"; break; case 3:$image_name="Aromatherapy_.jpg"; break; case 4:$image_name="Spa_Services.jpg"; break; } switch($cater_val){ case 1:$headding="Clinical Skin Care"; break; case 2:$headding="Mineral Make up"; break; case 3:$headding="Aromatherapy"; break; case 4:$headding="Spa Services"; break; } /* */ $values = "select * from tbl_category where int_parent_id=$cater_val"; //Query to fetch all the Products $category_value = mysql_query($values); $counting=mysql_num_rows($category_value); //$count=mysql_num_rows($result); //if(mysql_num_rows($parents)>0){ // echo $cater_values=mysql_result($parents,$i,int_category_id); ?>