Êè§ä¿Åì¢Í«èÍÁá«Á´èǹ »Õ 61
"; $rw=1; $gsce=$gsci=$gscb=0; $sc=0; while ($db=mysql_fetch_array($result)) { $sql2="select * from sk1_sch where scgrp='$db[scgrp]' "; $result2=mysql_query($sql2); while ($db2=mysql_fetch_array($result2)) { if ($db2[fixe]!='') { $gsce++; } if ($db2[fixn]!='') { $gsci++; } if ($db2[fixb]!='') { $gscb++; } if (($gsce+$gsci+$gscb)>0) { $sc=1; } } if ($gsce>0 ) { $gge=$gsce; } else { $gge='-';} if ($gsci>0 ) { $ggi=$gsci; } else { $ggi='-';} if ($gscb>0 ) { $ggb=$gscb; } else { $ggb='-';} $perc=number_format($sc*100/$db[nsc],2,'.',''); echo ""; $rw++; $tgsce+=$gsce; $tgsci+=$gsci; $tgscb+=$gscb; $gsce=$gsci=$gscb=0; $tsc+=$sc; $sc=0; $tnsc+=$db[nsc]; } $tperc=number_format($tsc*100/$tnsc,2,'.',''); echo "
·Õè ¡ÅØèÁ
âçàÃÕ¹
·Ñé§
ËÁ´
˹Õé¤èÒ
ä¿¿éÒ
¹éÓ-ä¿
à¹çµ
«èÍÁ
ÍÒ¤ÒÃ
ÃéÍÂÅÐ
$rw $db[sgrp] $db[nsc] $gge $ggi $ggb $perc
ÃÇÁ $tnsc $tgsce $tgsci $tgscb $tperc


"; ?>