header('Content-Type: text/html; charset=tis-620');
include('../db_config.php');
$sql0="select * from sk1_sch where scode='$sid' ";
$result0=mysql_query($sql0);
$db0=mysql_fetch_array($result0);
$sname=$db0[sname];
$scgrp=$db0[sgrp];
?>
echo "รร.$sname
กลุ่ม$scgrp"; ?>
$sql="select * from sk1_plunch where spc_scode='$sid' ";
$result=mysql_query($sql);
while ($db=mysql_fetch_array($result)) {
$pre.="
$db[spc_desc]";
}
echo "
";
?>