okay i had made sumtin like this a long time ago... and it worked.


lost the file so i gotta do it again...

anyways i have this code which will go into a lil news script.:
PHP Code:
             if($row['postcount'] >= '100'){ $usertitle "noob2"; }
            elseif(
$row['postcount'] >= '150'){ $usertitle "noob3"; }
            elseif(
$row['postcount'] >= '200'){ $usertitle "noob4"; }
            elseif(
$row['postcount'] >= '500'){ $usertitle "noob5"; }
            elseif(
$row['postcount'] >= '1000'){ $usertitle "noob6"; }
            elseif(
$row['postcount'] >= '1500'){ $usertitle "noob7"; }
            elseif(
$row['postcount'] >= '2000'){ $usertitle "noob8"; }
            elseif(
$row['postcount'] >= '2500'){ $usertitle "noob9"; }
            elseif(
$row['postcount'] >= '3000'){ $usertitle "noob10"; }
            else{ 
$usertitle "noob"; } 
so that if there postcount is greater then or equal to the #.. the $variable is changed.

for example

i have 500 posts.. yes im "noob2".

help me plz. thanks