AW: [SMARTY] Problems with compile/cache ID an booleans
| From: | Joscha Feth | Date: | Tue, 18 Feb 2003 15:06:49 +0000 |
| Subject: | AW: [SMARTY] Problems with compile/cache ID an booleans | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7828@lists.php.net to get a copy of this message | ||
> -----Ursprüngliche Nachricht-----
> Von: Eduardo [mailto:jemf@softhome.net]
> Gesendet: Dienstag, 18. Februar 2003 18:02
> An: 'Joscha Feth'; 'Smarty'
> Betreff: RE: [SMARTY] Problems with compile/cache ID an booleans
>
>
> >if($pass = "pass" && $user == "user") {
> ^
> |
>
>
> Don't you need another "=" ??? --> if($pass == "pass" &&
> $user ==
> "user") {
Yeah, you are right, but this was only sample code written out of my head,
this is also really not the problem, I was just giving a simpler example
than my code is!
Greets,
Joscha