This does't work if I go above 1500 posts?
Code:
if ($post[posts]<=19) {
$rank="<img src=\"http://www.binarydreams.us/forums/images/ranks/rank0.gif\">";
}
else if ($post[posts]<=149) {
$rank="<img src=\"http://www.binarydreams.us/forums/images/ranks/rank1.gif\">";
}
else if ($post[posts]<=599) {
$rank="<img src=\"http://www.binarydreams.us/forums/images/ranks/rank2.gif\">";
}
else if ($post[posts]<=1499) {
$rank="<img src=\"http://www.binarydreams.us/forums/images/ranks/rank3.gif\">";
}
else if ($post[posts]>=2599) {
$rank="<img src=\"http://www.binarydreams.us/forums/images/ranks/rank4.gif\">";
}
else if ($post[posts]>=9999) {
$rank="<img src=\"http://www.binarydreams.us/forums/images/ranks/rank5.gif\">";
}
else if ($post[posts]>=10001) {
$rank="<img src=\"http://www.binarydreams.us/forums/images/ranks/rank6.gif\">";
}