Re: syntax for two comparison operators
| From: | Jordan Miller | Date: | Thu, 25 Aug 2005 17:00:50 +0000 |
| Subject: | Re: syntax for two comparison operators | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-221362@lists.php.net to get a copy of this message | ||
Good to know about expression evaluation. Writing the expression(s) like that (left-to-right and right-to-left) solves my dilemma... thanks!
Jordan
On Aug 25, 2005, at 2:44 AM, Richard Lynch wrote:
I personally would use: ((2 < $x) && ($x <= 4))