$ranks has an array of of 31 rows.
however my code below is to list each row and number them 1-31. however its numbering 2-32.
what am i not thinking through about. thanks!
$pageNavSP->limitstart is the variable for my pagination, currently this is set to zero so assume for now it = 0
<?php
$k=0;
$i = 0; foreach ($ranks as $id=>$row) { $i++;
$k = 1-$k;
?>
<tr class="row<?php echo $k;?>">
<td width="20" align="center"><?php echo $i+$pageNavSP->limitstart+1;?></td>
<td>actions</td>
</tr>
<?php } ?>