execQuery($query); $numrows = $dbObj->_numrows; /** Paging */ $display = ( !isset ($_GET['page']) ) ? 1 : $_GET['page']; $start = ( ($display * $limit) - $limit ); /** Paging */ if( isset($_GET['OrderBy']) ) { $query = " SELECT * FROM $myTable WHERE FacultyStatus ='Y' ORDER BY $OrderBy $ASCDESC "; } elseif( !isset($_GET['OrderBy']) ) { $query = " SELECT * FROM $myTable WHERE FacultyStatus ='Y' ORDER BY $myTableFK ASC "; } $query .= " LIMIT $start, $limit "; $result = $dbObj->execQuery($query); ?>
หน้าหลัก » ข้อมูลบุคลากร » จำนวนบุคลากรจำแนกตามประเภทบุคลากร
 
‹ ย้อนกลับ
 
0 ) { ?> fetchArray($result) ) { $bgColor = ( $bgColor == "#FFFFFF" ) ? "#F9FBFB" : "#FFFFFF"; $Faculty_code = $rs['Faculty_code']; ?>
No จำนวนบุคลากรตามหน่วยงาน ชาย หญิง จำนวน
บุคลากรทั้งหมด
execQuery($sql1); $countnum1 = $dbObj->_numrows; $dbObj->freeresult($result1); echo $countnum1; ?> execQuery($sql1); $countnum1 = $dbObj->_numrows; $dbObj->freeresult($result1); echo $countnum1; ?> &studentSex=F"> execQuery($sql1); $countnum1 = $dbObj->_numrows; $dbObj->freeresult($result1); echo $countnum1; ?>
รวม execQuery($sql1); $countnum1 = $dbObj->_numrows; $dbObj->freeresult($result1); echo $countnum1; ?> execQuery($sql1); $countnum1 = $dbObj->_numrows; $dbObj->freeresult($result1); echo $countnum1; ?> execQuery($sql1); $countnum1 = $dbObj->_numrows; $dbObj->freeresult($result1); echo $countnum1; ?>
 
freeresult($result); /** Close the Database */ $dbObj->disconn(); /** Unset Class */ unset($dbObj); ?>