Re: [SMARTY] Question concerning asso. arrays

From: Date: Mon, 10 Mar 2003 12:14:35 +0000
Subject: Re: [SMARTY] Question concerning asso. arrays
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8525@lists.php.net to get a copy of this message
Le lun 10/03/2003 à 11:29, Lars Jankowfsky a écrit : > Heyho folks, > > I would be really happy if someone could give me a hint. > > I do have a array which has values : > > "value.name" => "one", > "value.city" => "two"... I mean it is a very bad idea to put dot in the name Why you want use this syntax ? > > etc. > > Now - when I try to access this from within smarty e.g. with > $list->value.name - this for sure doesn't work ( as smarty expects that the > "." signalizes a sub array) > Any Idea how I could get the value from my array ? - without changing my > keys :) > > Thnx, > > dodger > > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- Jean-Michel Juzan jmjuzan@ecreasol.ch Direction Informations & Technologies eCreaSol - NetWork Creative Solutions SARL - http://www.ecreasol.ch/ PGP public keys server : http://www.keyserver.net

Attachment: [application/pgp-signature] signature.asc
« previous php.smarty.general (#8525) next »