| Increment a value for each link
Hi
I want a value to increment for each item on a page.
example.
<div id="1"> LINK </div>
<div id="2"> LINK2 </div>
<div id="3"> LINK3 </div>
I know how to make a counter but I can't seem to find the loop that outputs all the links. When I put a counter inside link_summary.tpl it just does:
<div id="1"> LINK </div>
<div id="1"> LINK </div>
<div id="1"> LINK </div>
Please help.
edit: oops I thought I posted this in PHP help.
Last edited by garg; 03-13-2006 at 01:10 PM..
|