Jump to content


If statement help


  • Please log in to reply
2 replies to this topic

#1 Guest_PcGamerz13_*

Guest_PcGamerz13_*
  • Guests

Posted 20 March 2006 - 07:15 PM

Fixed

#2 micah1701

micah1701
  • Members
  • PipPipPip
  • Advanced Member
  • 613 posts
  • LocationEllington, CT USA

Posted 20 March 2006 - 07:17 PM

[!--quoteo(post=356723:date=Mar 20 2006, 02:15 PM:name=PcGamerz13)--][div class=\'quotetop\']QUOTE(PcGamerz13 @ Mar 20 2006, 02:15 PM) View Post[/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 ==> ?
if($Rank => $One){
[/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 :-)
"Confidence in the face of risk."

#3 ober

ober
  • Staff Alumni
  • Advanced Member
  • 5,337 posts
  • LocationEast Coast, USA

Posted 20 March 2006 - 07:17 PM

if($Rank >= 1)

Info: PHP Manual





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users