RE: [PHP] Simple if() function not working
| From: | Ted Knudson | Date: | Sat, 01 Jul 2000 02:13:01 +0000 |
| Subject: | RE: [PHP] Simple if() function not working | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4210@lists.php.net to get a copy of this message | ||
Thanks I knew it was something simple.
=> wrong
>= right
Thanks
Ted Knudson
http://www.automatedcabinets.com
http://www.pulsarusa.com
> -----Original Message-----
> From: Rasmus Lerdorf [mailto:rasmus@php.net]
> Sent: Friday, June 30, 2000 8:38 PM
> To: Ted Knudson
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Simple if() function not working
>
>
> > If($Height[$Z] => 12 AND $Height[$Z] < 15){print "Do Something";}
>
> if($Height[$Z] >= 12 && $Height[$Z] < 15) { print "Do Something"; }
>
> -Rasmus
>
>