dots in variable names

From: Date: Fri, 03 Jun 2005 11:45:44 +0000
Subject: dots in variable names
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-12656@lists.php.net to get a copy of this message
Suppose I have the following in php: $array = array('some.test' => 'text', 'more' => 'simple'); $smarty->assign('array', $array); How do I then address the variable "some.test" in my template? Opviously {$array.some.test} doesn't work since this is addressing a sub-array... -- peace, love & harmony Atte http://www.atte.dk

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