Array Syntax

From: Date: Tue, 16 Sep 2003 09:58:05 +0000
Subject: Array Syntax
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10221@lists.php.net to get a copy of this message
Hi there, I'm trying to figure out the correct syntax for nested arrays: I have an assoziative array $frm.products and I'm trying to get at the values by the key $category.name Can I get at the array without having to assign a separate variable for $category.name first? This does not work: {$frm.products[$category.name]} I also tried it with backticks, but that didn't work either. Martin. Martin Kloss martin.kloss@triquart.de Technische Direktion ************************ Triquart Neue Medien Bellealliancestr.17 20259 Hamburg Germany Tel.+49 (40)432 923-0 Fax +49 (40)432 923-23 www.triquart.de www.triquart-humor.de ************************* "Lingo objektorientiert" Das Buch zum Autor jetzt bestellen unter: http://www.amazon.de/exec/obidos/ASIN/3898422194/lingmmugd

« previous php.smarty.general (#10221) next »