<th>วันเดือนปีเกิด</th>
             <th>อายุ/เดือน</th> 
              <th>บ้านเลขที่</th>
               <th>หมู่บ้าน</th>
                <th>หมู่ที่</th>
               <th>ตำบล</th>
                <th>อำเภอ</th>
                 <th>TYPE AREA</th>

          </tr>
     </thead>
     <tbody>             
</tbody>
<?php 
$row = 1;
$dbrpt->GET_AGE_GROUP_CHM_CID($table, $vhid, $age_m);
while ($arr_rs = $dbrpt->Fetch_array()) {
    $age_m = $arr_rs['AGE_MONTH'];
    ?>
    
	<tr>
    		<td><?php 
    echo $row++;
    ?>
</td>
	      <td><?php 
    echo $arr_rs['HOSPCODE'];
    ?>
</td>
          <td><?php 
    echo $arr_rs['HOSPNAME'];