header('Content-Type: text/html; charset=tis-620'); include("header.php"); require_once('db_config.php'); $sql="select *,count(*) as ncom from $_commit,$_grp where cm_grp=ef_grp group by cm_grp"; $result=mysql_query($sql); echo "
กลุ่มสาระการเรียนรู้ | จำนวน |
$rw.$db[ef_group] | $db[ncom] |
รวม | $tcom |
"; include("footer.php"); ?>