|
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 |
ferre Smarty Rookie
Joined: 07 Jul 2003 Posts: 28
|
Posted: Tue Sep 30, 2003 9:14 am Post subject: section when start key not "0" |
|
|
i have a array like this :
Code: | Array ( [1] => Array ( [1] => Array ( [a] => 36 [b] => 0 ) ) [2] => Array ( [1] => Array ( [a] => 525 [b] => 0.5 ) ) [3] => Array ( [1] => Array ( [a] => 483 [b] => 0.5 ) ) [4] => Array ( [1] => Array ( [a] => 2434 [b] => 2.3 ) ) [5] => Array ( [1] => Array ( [a] => 3531 [b] => 3.3 ) ) [6] => Array ( [1] => Array ( [a] => 100080 [b] => 93.5 ) ) [7] => Array ( [1] => Array ( [a] => 1 [b] => 0 ) ) ) |
i use smarty to show , but only run to key 6 , it will start , plz help who should i do , to let it's run for 7 time's
Code: |
{section name=i loop=$AR start=1}
<tr>
<td>.....
</tr>
{/section} |
|
|
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
|