Re: [SMARTY] 2.4.1: {assign} in tenmplates with arrays
| From: | Mark Rogers | Date: | Fri, 07 Feb 2003 17:14:44 +0000 |
| Subject: | Re: [SMARTY] 2.4.1: {assign} in tenmplates with arrays | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7574@lists.php.net to get a copy of this message | ||
Ferdinand Beyer wrote:
> I'm sure exactly the same could did never work with Smarty!
Oops! But...
> This should also work (in this case):
> {assign var=subject value="Hello, $test[name] from Joe"}
.. gives a similar result:
Hello, Array[name], from Joe
Maybe it was this form that used to work but now doesn't? (Looking at some
other old code it does look like this format I'd been using in the past,
apologies for getting them mixed up.)
Mark Rogers,
Quarella (More Solutions) Ltd
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 28/01/2003