JoshuaLuke
Posting Freak
- Jan 29, 2012
- 529
- 51
Hey,
I have a users online page and it displays all the users online. I'm wanting to make my username bold and red so it stands out since im the owner (my username is Josh) but I can't figure out how to do it. Heres my code:
An ideas?
I have a users online page and it displays all the users online. I'm wanting to make my username bold and red so it stands out since im the owner (my username is Josh) but I can't figure out how to do it. Heres my code:
Code:
<div class="habblet-container ">
<div class="cbb clearfix red ">
<h2 class="title">Online Users</h2>
<div align="left">
<div class="box-content">
<?php
require_once 'global.php';
$getUsers = dbquery("SELECT id,username,motto,look,online, last_online FROM users WHERE online = '1' ORDER BY id ASC");
$getMembers = dbquery("SELECT username FROM users WHERE rank = '8' ORDER BY id ASC");
if (mysql_num_rows($getUsers) > 0)
{
echo '<ul style="margin: 0; color:#000000">';
while ($u = mysql_fetch_assoc($getUsers))
{
echo $users->formatUsername($u['id']);echo ', ';
}
echo '</ul>';
}
else
{
echo '<br /><br /><i>There are currently no users online.</i>';
}
?>
</div>
</div>
</div></div>
An ideas?