Associative arrays with spaces
| From: | Graham Yardley | Date: | Tue, 06 Apr 2004 16:04:15 +0000 |
| Subject: | Associative arrays with spaces | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-11238@lists.php.net to get a copy of this message | ||
If i assign an array with Associative keys that include spaces how would display them in smarty?
example php
assign('dimension', array('dimension name' => 'length', 'inches' => 46));
smarty that does not work
{dimension.dimension name}
{
dimension.dimension name}
--
Outgoing mail is certified Virus Free.
Checked by AVG Anti-Virus (http://www.grisoft.com).
Version: 7.0.230 / Virus Database: 262.7.0 - Release Date: 4/6/2004