สำรวจความพร้อมเปิดเรียน 1 ก.ค.63
กลุ่มโรงเรียน : $db0[sgrp] TH; $rw=1; $n=$tn=0; while ($db=mysql_fetch_array($result)) { if ($db[sprom] !='') { $ck=""; } else { $ck=""; } echo ""; $rw++; $tts+=$ts; $ttsk+=$tsk; } $tps=number_format($ttsk*100/$tts,2,'.',','); echo "
ที่ โรงเรียน ตอบแล้ว
$rw $db[sname] $ck
รวม $tts
"; ?>