<table class="table table-hover">
<thead>
          <tr>
              
             <th>สถานบริการ</th>
           <th>จำนวนประชากร</th>
            <th>ชาย</th>
             <th>หญิง</th>
          

          </tr>
     </thead>
     <tbody>             
</tbody>
<?php 
$dbrpt->GET_AGE_GROUP_CHW_PCU($table, $age_st, $age_end, $tambon);
while ($arr_rs = $dbrpt->Fetch_array()) {
    ?>
    
	<tr>
		<td>
         <a href="age_group_chw_vill.php?hcode=<?php 
    echo $arr_rs['HOSPCODE'];
    ?>
&id=<?php 
    echo $id;
    ?>
&age_st=<?php 
    echo $age_st;
    ?>
&age_end=<?php