TEENFRONT Posted January 19, 2009 Share Posted January 19, 2009 Hey i tried using if($total >=3 && <=5) { } but it didint work. im trying to only do stuff with members with a $total of more than or equal to 3 but less than or equal to 5. How do i do this? Quote Link to comment https://forums.phpfreaks.com/topic/141528-greater-than-x-but-less-than-y/ Share on other sites More sharing options...
phparray Posted January 19, 2009 Share Posted January 19, 2009 This should work if($total >=3 && $total <=5) { } Quote Link to comment https://forums.phpfreaks.com/topic/141528-greater-than-x-but-less-than-y/#findComment-740803 Share on other sites More sharing options...
machupicchu Posted January 20, 2009 Share Posted January 20, 2009 solved! Quote Link to comment https://forums.phpfreaks.com/topic/141528-greater-than-x-but-less-than-y/#findComment-740818 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.