index associative array with another associative array

From: Date: Wed, 15 Jan 2003 23:42:11 +0000
Subject: index associative array with another associative array
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7215@lists.php.net to get a copy of this message
Hi, Thank's Jeff for your help. I always use $smarty['template'] syntax in my php code with no problem. Have you a link about this php recomandation ? There is a more simple way to index associative array with another associative array like the example beloy or do you know if smarty developpers has this in the pipe ? $OuiNon[$tmpSite['Site']['admin']] -> php syntax {section name=Site loop=$tmpSite} <tr class="listeadmin{$suffixTpl}"> {assign var="indexAdmin" value=$tmpSite[Site].admin}<td>{$OuiNon.$indexAdmin}</td> . . Regards. -- Jean-Michel Juzan - Co-Fondateur jmjuzan@ecreasol.ch http://www.ecreasol.ch/ PGP public keys server : http://www.keyserver.net

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