Guest PcGamerz13 Posted March 20, 2006 Share Posted March 20, 2006 Fixed Link to comment https://forums.phpfreaks.com/topic/5364-if-statement-help/ Share on other sites More sharing options...
micah1701 Posted March 20, 2006 Share Posted March 20, 2006 [!--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 workis 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 More sharing options...
ober Posted March 20, 2006 Share Posted March 20, 2006 [code]if($Rank >= 1)[/code] Link to comment https://forums.phpfreaks.com/topic/5364-if-statement-help/#findComment-19107 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.