Passing Record Count From Master Page Detail Set
Hi there. I am building a photo gallery and I would like the user to click on a thumbnail in group, go to the detail page to show the larger image. That works fine, however the record count is always 1/0 instead of 4/20, 7/20, etc. My suspicion is that I need to pass some sort of variable that I am unaware of. Any feedback is greatly needed and appreciated.
Here is the link to the thumbnail gallery
http://blackbird.dominguezstudio.com/landscape_photography_thumbs.php
Here is the code I am using for this
<div id="content">
<div id="thumbHeader"><?php include("includes/landscapeThumbHeader.php"); ?></div>
<?php do { ?>
<a href="landscape_photography.php?recordID=<?php echo $row_rsLandscape['record']; ?>"> <img src="../07landscape/<?php echo $row_rsLandscape['th_filename']; ?>"></a>
<?php } while ($row_rsLandscape = mysql_fetch_assoc($rsLandscape)); ?>
<?php echo $totalRows_rsLandscape ?> Records Total
</div><!--close content-->
I'm using CS3. Thanks, ~ JD
