<table class="table table-hover"> <thead> <tr> <th>สถานบริการ</th> <th>จำนวนประชากร</th> <th>ชาย</th> <th>หญิง</th> </tr> </thead> <tbody> </tbody> <?php $dbrpt->GET_AGE_GROUP_PCU($table, $age, $tambon); while ($arr_rs = $dbrpt->Fetch_array()) { ?> <tr> <td> <a href="javascript:popup('age_group_3060_vill.php?hcode=<?php echo $arr_rs['HOSPCODE']; ?> &id=<?php echo $id; ?> &age=<?php echo $age; ?> &table=<?php