Re: [SMARTY] section loop issue

From: Date: Tue, 27 Jan 2004 23:51:36 +0000
Subject: Re: [SMARTY] section loop issue
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10884@lists.php.net to get a copy of this message
On Wed, Jan 28, 2004 at 12:45:21AM +0100, Peter wrote: > Hello, > > I use the section stuff from smarty very often and it's great. But > currently I have an problem and dont know why. > Following data are available: > > ### input data array ### > Array ( [1] => Array ( [right_id] => 1 [area_id] => 1 [application_id] > => 1 [define_name] => ADD_USER [has_implied] => N [has_level] => N > [has_scope] => N [name] => useradd [comment] => add a new user to the > system ) ) > [...] > > It will be printed but no values are there. > No $uright[permission].name or $uright[permission].comment or > $uright[permission].right_id is there. > May someone can tell me why? the array has to be zero-based to work with section. your array starts with index 1. > Cheers > -Peter

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