Re: [SMARTY] Variables with dots in templates
| From: | Mark Rogers | Date: | Tue, 07 Sep 2004 13:53:14 +0000 |
| Subject: | Re: [SMARTY] Variables with dots in templates | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-11770@lists.php.net to get a copy of this message | ||
> Maybe use something like:
>
> {if array_key_exists('utenti_servizi.tipo_abbonamento', $cb_src)}
Also, I haven't tried it but the following ought to work:
{assign var="index" value="utenti_servizi.tipo_abbonamento"}
{if $cb_src.$index}checked{/if}
--
Mark Rogers,
More Solutions Ltd :: Tel: 0845 45 89 555