Getting a value from an array using a variable as reference

From: Date: Mon, 15 Sep 2003 13:11:54 +0000
Subject: Getting a value from an array using a variable as reference
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10204@lists.php.net to get a copy of this message
Hi list, I have such a hard time figuring out how to achieve the following: {$SessionVars[$MenuItem.ThisStep].grp_id} The problem is that it won't compile. I am trying to retrieve the value from $SessionVars['Position'].grp_id by the use of $MenuItem.ThisStep Can anyone tell me how to go about this. Any help is appreciated. Thanks in advance, Thomas

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