Code Comments
Programming Forum and web based access to our favorite programming groups.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
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.