RE: [PHP] php in css not working with IF's
| From: | Jason Dulberg | Date: | Thu, 04 Oct 2001 04:54:06 +0000 |
| Subject: | RE: [PHP] php in css not working with IF's | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-69875@lists.php.net to get a copy of this message | ||
Theoretically, either/or I'm assuming. If A isn't 10 or A isn't 9...
So I'm assumuming that my IF's are way off base?
This is definitely something that'll be helpful for my other work as well.
Thanks
__________________
Jason Dulberg
Extreme MTB
http://extreme.nas.net
> -----Original Message-----
> From: Rasmus Lerdorf [mailto:rasmus@php.net]
> Sent: October 4, 2001 12:41 AM
> To: Jason Dulberg
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] php in css not working with IF's
>
>
> > if (($BROWSER_PLATFORM == "Win") && (($site_style!=="10") ||
> > ($site_style!=="9"))) {
>
> Common logic mistake.
>
> if ( A != 10 or A != 9 )
>
> Which value of A would make that logic false?
>
> -Rasmus
>
>