0){ $sub_id = $_REQUEST['sub_id']; }else{ $sub_id=0; } $maincat_rs = mysql_query("select * from category where cat_id='$cat_id'"); $maincat = mysql_fetch_array($maincat_rs); $maincatid = $maincat['cat_id']; $maincatname = $maincat['cname']; $sub_cats_rs = mysql_query("select * from subcategory where subcat_id='$sub_id'") or die(mysql_error()); $sub_cats = mysql_fetch_array($sub_cats_rs); $cur_sub_cat_caption = $sub_cats['subcat_name']; $cur_sub_cat_id = $sub_cats['cat_id']; $subcatid = $sub_cats['subcat_id']; $cur_main_cat_rs = mysql_query("select * from category where cat_id='$cur_sub_cat_id'"); $cur_main_cats = mysql_fetch_array($cur_main_cat_rs); ?> 0){ $sub_id = $_REQUEST['sub_id']; }else{ $sub_id=0; } $maincat_rs = mysql_query("select * from category where cat_id='$cat_id'"); $maincat = mysql_fetch_array($maincat_rs); $maincatid = $maincat['cat_id']; $maincatname = $maincat['cname']; $sub_cats_rs = mysql_query("select * from subcategory where subcat_id='$sub_id'") or die(mysql_error()); $sub_cats = mysql_fetch_array($sub_cats_rs); $cur_sub_cat_caption = $sub_cats['subcat_name']; $cur_sub_cat_id = $sub_cats['cat_id']; $subcatid = $sub_cats['subcat_id']; $cur_main_cat_rs = mysql_query("select * from category where cat_id='$cur_sub_cat_id'"); $cur_main_cats = mysql_fetch_array($cur_main_cat_rs); ?> <?=$cur_sub_cat_caption;?> Live Channels Online Free - Lup Tv