Re: [SMARTY] Problem when using associative arrays with custom functions
| From: | Ben Godfrey | Date: | Sun, 18 Aug 2002 19:06:31 +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-5737@lists.php.net to get a copy of this message | ||
{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} Ben (q) Ben Godfrey? (a) Developer and Designer, See http://aftnn.org/ for details