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

From: Date: Thu, 04 Oct 2001 06:09:03 +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-69893@lists.php.net to get a copy of this message
> Ok. Wll show you with an example: > > if (($site_style!=="10") && ($site_style!=="9") && > ($site_style!=="8")) > { } > > elseif ($site_style=="10") { > } > > > Should simply be > > if($site_style != ('10' or '9' or '8')) {} Stop confusing the lad. That obviously won't work. -Rasmus

« previous php.general (#69893) next »