Documentation problem on QUICKSTART file

From: Date: Thu, 01 Nov 2001 21:07:42 +0000
Subject: Documentation problem on QUICKSTART file
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1798@lists.php.net to get a copy of this message
Well, after loosing several hours of work following the syntax described on the end of the QUICKSTART text file available on the following URL: http://www.phpinsider.com/php/code/Smarty/QUICKSTART thinking that the last example of nested arrays would also be correct for a nested associative array inside a normal index based array, I figured out that you should use something like this: $array_name = array( 0 => array( "test" => "hello" ) ); {section name="named_index" loop=$array_name} {$array_name[named_index].test} {/section} and not {$array_name[named_index][test]} Maybe adding such an example to that file would help maybe another person in the future ? Cheers, Joao -- João Prado Maia <jpm@phpbrasil.com> http://phpbrasil.com - php com um jeitinho brasileiro -- Precisando de consultoria em desenvolvimento para a Internet ? Impleo.net - http://impleo.net/?lang=br

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