Re: [SMARTY] more on array index variables
| From: | Phillip Smith | Date: | Mon, 13 May 2002 20:04:27 +0000 |
| Subject: | Re: [SMARTY] more on array index variables | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4181@lists.php.net to get a copy of this message | ||
Sorry, nevermind. A friend pointed out that I need:
$events = $db->getAll($sql, DB_FETCHMODE_ASSOC);
^^^^^^^^^^^^^^^^^^
{$events[id].type} in a {section} loop and {$events.$id.type}
for individual items will access the data.
-phillip