
<?php include('../../../../db_connect.php');
    
    $sq = "SELECT COUNT(DISTINCT RNO) as num FROM request WHERE bar = '1'"; 
    $pgs = mysql_fetch_array(mysql_query($sq));
    $count = $pgs['num'];
    if($count <= 0){echo '';}else {echo $count;}
    ?>

