Hey guys,
I have a PHP Micro-Blogging Website which is Star Trek-themed. What I would like to do is have it where if a user posts 100 messages, then a rank image appears, but if a user posts 200 images, then another rank image would appear but in its place.
I have the current php code:
if(user_post_count==200)
{
echo "your image url";
}
else
if(user_post_count==300)
{
echo "image url 2";
}
else
{
//move on to something else
}
But I need to assign this code to a $rank setting to add it to my html file.
Any ideas?
If you need anymore info, then please ask me.