Help needed :: Ranking system for a member profile

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mikefoo
Forum Newbie
Posts: 5
Joined: Mon Jul 08, 2002 8:02 pm
Location: Malaysia
Contact:

Help needed :: Ranking system for a member profile

Post by mikefoo »

Dear experts here,
I just made an online chatting machine with PHP. Anyway, I would like to make a ranking system for it by using stars. But I can only fill in letters intead of stars for it. Below are the codes. Please teach me what should I add in to make the stars appear in front of the "Moderator". Thanks and appreciate your help.


profile.php
--------------
<tr>
<td><? echo "<font face=\"$font\" size=\"$size\" color=\"$color\">"; ?>Ranking:</td>
<td><? echo "<font face=\"$font\" size=\"$size\">"; ?><? echo "$ranking"; ?>&nbsp;</td>
</tr>


memberid.php
-------------------
<?
$ranking = "Moderator";
?>


how it appears:
-------------------
| Ranking: | Moderator
Post Reply