So I'm trying to get this still to make it when the staff is online. so basically online = 1
And when newest users is created it always shows up as me (rank 10)
PHP:
<?php
$getStaff = mysql_query("SELECT * FROM users WHERE rank <=5");
$staffs = mysql_num_rows($getStaff);
?>
There are <strong><?php echo $staffs; ?></strong> Staff Members on {hotelname}.<br />
And when newest users is created it always shows up as me (rank 10)
PHP:
<?php
$getUserInfo = mysql_query("SELECT username,online,motto,account_created,look FROM users WHERE account_created ORDER BY username LIMIT 1");
while ($userInfo= mysql_fetch_assoc($getUserInfo))
{
echo '