I am trying to put the counter loop in this portion of code
<div id="nav"></div>
<div id="button-previous" class="buttons" style="cursor: pointer;"><<</div>
<div class="buttons" style="float: left; margin-right:20px;"> of <?php echo $Gallery->TotalRows ?> </div>
<div id="button-next" class="buttons" style="cursor: pointer;">>></div>
I have tried placing that within the recordset but it stops the << and >> from working as navigation points for the slideshow