Re: comparisons
| From: | Rasmus Lerdorf | Date: | Tue, 09 Jan 2001 17:29:12 +0000 |
| Subject: | Re: comparisons | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-33493@lists.php.net to get a copy of this message | ||
> Is there a special way in which I need to do this in php?
>
> if (500 < $weight < 1000)
No special way, just the way it is typically done:
if($weight > 500 && $weight < 1000)
-Rasmus