Re: php in css not working with IF's
| From: | Rasmus Lerdorf | Date: | Thu, 04 Oct 2001 04:50:26 +0000 |
| Subject: | Re: php in css not working with IF's | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-69874@lists.php.net to get a copy of this message | ||
> Any other problems aside, this is not how you do 'Not Equal'.
>
> $site_style!="10"
>
> is correct syntax.
No, !== is quite valid. It is the non-equality version of ===
See http://www.php.net/manual/en/language.operators.comparison.php
-Rasmus