Access associative array with associative array value

From: Date: Fri, 11 Jul 2003 08:49:41 +0000
Subject: Access associative array with associative array value
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9868@lists.php.net to get a copy of this message
This doesn't work : --TEMPLATE-- {assign var="mod_selection" value=$smarty.post.mod} You choose : {$mod_server.mod_selection} (and in previous page :) <select name="mod" class="reagi_formulaire"> {html_options options=$mod_server} </select> --PHP-- $mod_server = array("cstrike" => "Counter-Strike", "dod" => "Day Of Defeat" ); $smarty->assign("mod_server",$mod_server); Do u understand what i'm trying to do ??? Plz help me understand WHY it doesn't work :) Cordialement, Olivier Doucet Webmaster de www.ajeux.com

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