ชื่อผู้ใช้งาน รร.$sc
"; $rw=1; while ($db=mysqli_fetch_array($result)) { $uid=$db[uid]; $ubox.=""; $rw++; } if ($nper==0) { $new="[ เพิ่มชื่อผู้ใช้ ]"; } else { $new=''; } $ubox.="
ที่ ชื่อ-สกุล ตำแหน่ง
$rw $db[name] $db[surname] $db[position_name]
$new"; $sql="select *,a.id as uid from system_user a,person_sch_main b,system_school c where a.person_id=b.person_id and b.school_code=c.school_code and c.id='$sid' order by b.school_code"; $result=mysqli_query($connect,$sql); $rbox.="
ลงทะเบียนแล้วในระบบ AMSS++
"; $rw=1; while ($db=mysqli_fetch_array($result)) { $scgrp=$db[school_group]; $result3=mysqli_query($connect,"select person_id from book_permission where person_id='$db[person_id]' "); if ($db3=mysqli_fetch_array($result3)) { $bk='สารบรรณ รร.'; } else { $bk='-'; } $rbox.=""; $rw++; } $rbox.="
ที่ ชื่อ-สกุล เจ้าหน้าที่
$rw $db[name] $db[surname] $bk
"; echo "
$ubox$rbox

[ กลับหน้าเดิม ] | [ ลงทะเบียนใช้งาน AMSS++ ]

"; mysqli_close($connect); ?>