|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
skyrl Smarty n00b
Joined: 20 Apr 2003 Posts: 2 Location: france, annecy
|
Posted: Sun Apr 20, 2003 2:47 pm Post subject: {section name=i loop=array} |
|
|
Still doesn't work with associative arrays.
Example:
$myarray = ("firtname"=>"John", "lastname"=>"Doe", "birthdate"=>"01-25-1950", "gender"=>"male");
Smarty cannot iterate alpha keys; only numeric
A little change is needed in _compile_section_start.
What do you think?
Last edited by skyrl on Sun Apr 20, 2003 4:28 pm; edited 1 time in total |
|
Back to top |
|
messju Administrator
Joined: 16 Apr 2003 Posts: 3336 Location: Oldenburg, Germany
|
|
Back to top |
|
skyrl Smarty n00b
Joined: 20 Apr 2003 Posts: 2 Location: france, annecy
|
Posted: Sun Apr 20, 2003 4:27 pm Post subject: Ooops |
|
|
Oh, Thx! and sorry for disturbing... |
|
Back to top |
|
messju Administrator
Joined: 16 Apr 2003 Posts: 3336 Location: Oldenburg, Germany
|
Posted: Sun Apr 20, 2003 5:29 pm Post subject: |
|
|
no problem. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|