header('Content-Type: text/html; charset=tis-620');
include('../db_config.php');
$sql="select * from sk1_sch where nbook != '' order by sampur,sname";
$result=mysql_query($sql);
echo "ÊÃØ»¼ÅÊÓÃǨ¤ÍÁ¾ÔÇàµÍÃì NetBook ÃÃ. ʾ».È¡.1 »Õ 2560
¡ÅѺ
·Õè |
âçàÃÕ¹ |
ÍÓàÀÍ |
äÁèÁÕ NetBook |
ãªé§Ò¹ÍÂÙè |
äÁèä´éãªé§Ò¹ |
";
$rw=1;
while ($db=mysql_fetch_array($result)) {
if ($db[nbook]=='0') { $nb0=1; } else { $nb0='-'; }
if ($db[nbook]=='1') { $nb1=1; } else { $nb1='-'; }
if ($db[nbook]=='2') { $nb2=1; } else { $nb2='-'; }
echo "
$rw |
$db[sname] |
$db[sampur] |
$nb0 |
$nb1 |
$nb2 |
";
$rw++; $tnb0+=$nb0; $tnb1+=$nb1; $tnb2+=$nb2;
}
echo "
ÃÇÁ |
$tnb0 |
$tnb1 |
$tnb2 |
¡ÅѺ";
?>