Users
'; $q = "select * from users order by first_name asc"; $r = mysqli_query($dbc, $q); echo '
'; echo ''; while($row = mysqli_fetch_array($r)) { echo ''; //first name echo ''; //last name echo ''; //username echo ''; //admin if($row['admin']) echo ''; else echo ''; //del echo ''; echo ''; } echo '
First Name Last Name User Name Admin
Delete User
' . $row['first_name'] . '' . $row['last_name'] . '' . $row['user_name'] . 'TrueFalse'; echo '
'; echo '
'; }