grantus
Active member
I've looked around but can't seem to find what I'm looking for.
I have my foreach loop:
But I need to get the count. I noticed there's
What would be the best way to do a count++ inside my foreach?
I have my foreach loop:
Code:
<xf:foreach loop="$view" value="$value">
</xf:foreach>
But I need to get the count. I noticed there's
count="$count"
in the approval_queue template but apparently it doesn't work?What would be the best way to do a count++ inside my foreach?