RE: [PHP] php in css not working with IF's

From: Date: Thu, 04 Oct 2001 05:09:11 +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-69881@lists.php.net to get a copy of this message
Would make a nice little PHP-GD exercise for someone to build a PHP app that took a boolean logical expression and produced a Venn diagram. Maybe limit it to 3 or less terms to not make your brain explode. -Rasmus On Thu, 4 Oct 2001, Maxim Maletsky (PHPBeginner.com) wrote: > 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 > > >

« previous php.general (#69881) next »