RE: [PHP] php in css not working with IF's
| From: | Maxim Maletsky \(PHPBeginner.com\) | Date: | Thu, 04 Oct 2001 05:07:42 +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-69880@lists.php.net to get a copy of this message | ||
Thanks Rasmus.
The link you provided will become a great resource for PHPBeginner.com
Cheers!
Maxim Maletsky
www.PHPBeginner.com
-----Original Message-----
From: Rasmus Lerdorf [mailto:rasmus@php.net]
Sent: giovedi 4 ottobre 2001 6.58
To: Jason Dulberg
Cc: php-general@lists.php.net
Subject: RE: [PHP] php in css not working with IF's
> Theoretically, either/or I'm assuming. If A isn't 10 or A isn't 9...
But since A cannot be both 9 and 10 at the same time, A will *always*
not be one of them.
It's exactly the same as saying: if (!(A==9 AND A==10))
Obviously A cannot be both 9 and 10 at the same time so the above will
be:
if(!(false)) which is the same as if(true)
Some people find it helpful to draw Venn diagrams of their boolean
logical expressions. See
http://www.lib.csub.edu/infocomp/search/boolean/venn.htm
for a simple description of those.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net To
contact the list administrators, e-mail: php-list-admin@lists.php.net