corkg Posted July 31, 2007 Share Posted July 31, 2007 how do i do this; 25 < x ≤ 10 so i need to make an if command so that it will display if number is greater including 10 and is less than 25. Quote Link to comment https://forums.phpfreaks.com/topic/62733-inequalities-in-php/ Share on other sites More sharing options...
Wildbug Posted July 31, 2007 Share Posted July 31, 2007 if ($x > 25 or $x <= 10) ....; Quote Link to comment https://forums.phpfreaks.com/topic/62733-inequalities-in-php/#findComment-312228 Share on other sites More sharing options...
corkg Posted July 31, 2007 Author Share Posted July 31, 2007 thanks Quote Link to comment https://forums.phpfreaks.com/topic/62733-inequalities-in-php/#findComment-312233 Share on other sites More sharing options...
Barand Posted July 31, 2007 Share Posted July 31, 2007 Your experession 25 < x ≤ 10 doesn't match your explanation do you mean if ($x >= 10 && $x < 25) Quote Link to comment https://forums.phpfreaks.com/topic/62733-inequalities-in-php/#findComment-312290 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.