Welcome Guest, Not a member yet? Register   Sign In
sequence number
#2

[eluser]Pascal Kriete[/eluser]
I'm not sure what you're trying to accomplish. Is this in a loop?
Code:
<ul>
&lt;?php
$x = 0;
foreach($something as $some => $thing): ?&gt;
<li>
    &lt;?= $x++ ?&gt;
</li>
&lt;?php endforeach; ?&gt;
</ul>


Messages In This Thread
sequence number - by El Forum - 10-19-2008, 10:59 PM
sequence number - by El Forum - 10-20-2008, 03:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB