your problem is you havent elsed the rest, if your condition is met it does whats between the {} but it doesnt stop whats happening after, the white name from occuring too..
Its easy to fix though thanks to else.
Basicly the only change other than some syntax for it to work, is that i put the white name as an else, so if it doesnt do a red name it falls back to the white, but if it does do the red, it doesnt do the white as well.PHP Code:<div align="left">
<?php
if($info->rank =='Official Bliss Godfather'){
echo"<b><font color='red'>Official Bliss Godfather</font>";
}else{
echo "<b><font color='white'>".$fetch->rank."</b>";
}
?>
</div>
hope that helps
ps, just wondering is there a reason you have a fetch and an info class which are both holding the exact same information in there rank varible?








Reply With Quote

Rep+!

