Jump to content

If statement help


Guest PcGamerz13

Recommended Posts

[!--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 :-)
Link to comment
https://forums.phpfreaks.com/topic/5364-if-statement-help/#findComment-19106
Share on other sites

Archived

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

×
×
  • Create New...

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.