Jump to content

If statement help


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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.