query("SELECT user_id AS 'ID', username AS 'Username', email AS 'Email', password AS 'Password', accountType AS 'Account Type', school_id AS 'School', class_id AS 'Class', active AS 'Status' FROM user_account ORDER BY user_id ASC;");
$tablesAndTheirData = array();
array_push($tablesAndTheirData, array(
'fields' => $result->fetch_fields(),
'data' => $result
));
foreach($tablesAndTheirData as $table){
if($table['data']->num_rows){
?>
name;?> |
---|
Not Applicable
Not Applicable
|