Jump to content

Archived

This topic is now archived and is closed to further replies.

Guest PcGamerz13

If statement help

Recommended Posts

Guest PcGamerz13
Fixed

Share this post


Link to post
Share on other sites
[!--quoteo(post=356723:date=Mar 20 2006, 02:15 PM:name=PcGamerz13)--][div class=\'quotetop\']QUOTE(PcGamerz13 @ Mar 20 2006, 02:15 PM) [snapback]356723[/snapback][/div][div class=\'quotemain\'][!--quotec--]
how do you make something equal to or higher at the sametime on a if statement so if $Rank = 1 or higher it shows and if rank is below 1 it don't show anything above 0 works.
this don't work

is it ==> ?
[code]if($Rank => $One){[/code]
[/quote]

so close.
I think you are looking for >= (greater than or equal to)

opposed to => which you would think is equal to or greater than, but its not :-)

Share this post


Link to post
Share on other sites
[code]if($Rank >= 1)[/code]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.