session_start(); include("../conn.php"); //echo 'select * from sub_unitmaster where unit = \''.$_REQUEST['id'].'\' order by sub_unit'; $rs = mysql_query('select distinct main_unit,main_unit_code1 from nondef where hqrs = \''.$_REQUEST['id'].'\' group by main_unit'); ?>
if(mysql_num_rows($rs) > 0) { ?> } else {?> No Sector defined for this HQRS. } ?>