header('Content-Type: text/html; charset=tis-620');
include('../db_config.php');
$sql="select * from sk1_sch66 where scgrp != 'prv' order by sampur";
$result=mysql_query($sql);
echo <<
รายงานการรับฟังนโยบาย รมว.ศธ. พล.ต.อ.เพิ่มพูน ชิดชอบ วันที่ 14 ก.ย.66
ที่ |
โรงเรียน |
กลุ่มโรงเรียน |
รับฟัง+ไฟล์แนบ |
TH;
$rw=1; $nf=0;
while ($db=mysql_fetch_array($result)) {
if (empty($db[m140966])) {
$col='#fff0f0';
$txt='-';
$rem='';
} else {
$col='#f0feed';
$txt="";
$nf++;
}
echo <<
$rw |
$db[sname] |
$db[abb_sch] |
$txt |
TB;
$rw++;
}
echo <<
รวม |
$nf |
กลับ
TF;
?>
|