Re: [SMARTY] how to assign vars in templates
| From: | CPT John W. Holmes | Date: | Wed, 23 Jul 2003 21:19:59 +0000 |
| Subject: | Re: [SMARTY] how to assign vars in templates | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9950@lists.php.net to get a copy of this message | ||
> I didn't find anything about this in the docu.
>
> I want to do something like this in an template :
>
> if($var == $arr[$i])
> {
> $id = $var;
> }
That's PHP, why would you do it in a template?
---John Holmes...