Re: [SMARTY] Problem when using associative arrays with custom functions
| From: | Joao Prado Maia | Date: | Sun, 18 Aug 2002 19:29:18 +0000 |
| Subject: | Re: [SMARTY] Problem when using associative arrays with custom functions | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5738@lists.php.net to get a copy of this message | ||
On Sun, 18 Aug 2002, Ben Godfrey wrote:
>
> > {assign var="boo" value="$info.rel_timestamp"}
>
> Smarty is interpolating the string and converting $info. To stop it
> doing this, simply drop the quotes:
>
> {assign var="boo" value=$info.rel_timestamp}
>
Beautiful, that worked. Thanks a lot, Ben.
--
Precisando de consultoria em desenvolvimento para a Internet ?
Impleo - http://impleo.net/?lang=br
--
Leia mais sobre os nossos serviços e produtos
http://impleo.net/products.php?lang=br