header('Content-Type: text/html; charset=tis-620'); //include("../header.php"); echo ""; include('db_config.php'); $sql2="select * from $_sch where scgrp='$ceo' "; $result2=mysql_query($sql2); $db2=mysql_fetch_array($result2); $sql="select * from $_act where kp_cd='$gr' order by kp_id"; $result=mysql_query($sql); echo <<
จำนวนการรับสมัครเข้าแข่งขันทักษะวิชาการนักเรียน $_title
กลุ่ม $db2[sgrp]
| กิจกรรม (ช่วงชั้น) | รร.สมัคร | นักเรียน(คน) | $rw.$db[kp_act] ($db[kp_level]) | $sch | $std | TB; $rw++; $tsch+=$nsch; $tstd+=$db0[nstd]; } echo <<รวมกลุ่มสาระการเรียนรู้$grp | $tstd |