ประเมินด้วยข้อสอบปลายปี 61
ที่ โรงเรียน รายงาน "; $rw=1; $nsend=0; while ($db=mysql_fetch_array($result)) { $sql1="select * from sk1_final where scode='$db[scode]' "; $result1=mysql_query($sql1); $db1=mysql_fetch_array($result1); if ($db1[qs] != '' ) { $ast=''; $nsend++; } else { $ast=''; } echo " $rw $db[sname] $ast "; $rw++; } $tstd=number_format($tstd,0,'.',','); echo " รวม $nsend "; ?>