Re: [SMARTY] Legal IF syntax
| From: | Kelly Hallman | Date: | Sun, 14 Sep 2003 20:10:10 +0000 |
| Subject: | Re: [SMARTY] Legal IF syntax | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10202@lists.php.net to get a copy of this message | ||
On Sun, 14 Sep 2003, Gerard Samuel wrote:
> Smarty variables that can be either true or false.
> Could it be written as such ->
> {if $foo OR !$bar}
> do something
> {/if}
I believe this is ok.
Also: {if $foo or not $bar}
--Kelly