|
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 |
noescape Smarty Rookie
Joined: 22 Jul 2009 Posts: 11
|
Posted: Wed Dec 09, 2009 12:34 am Post subject: count num of rows in an array |
|
|
Hi. how i can count the number of rows in an array?
i need to do it in smarty as the function is returning array which i assign to smarty variable and call in template to iterate over it. how i can print num of rows before outputting results?
thanks |
|
Back to top |
|
scuzzy Smarty Regular
Joined: 31 Aug 2003 Posts: 84
|
Posted: Wed Dec 09, 2009 12:52 am Post subject: |
|
|
|
|
Back to top |
|
noescape Smarty Rookie
Joined: 22 Jul 2009 Posts: 11
|
Posted: Wed Dec 09, 2009 1:08 am Post subject: |
|
|
Thanks |
|
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
|