Hi,
I would like the record num and not the upload num, below in the bold php tag. How do I get this done? Have been searching through the posts with no success...
Thanks for your help.
(By the way, Dave, thanks for the help on the contact form issue...)
Jeremy
<?php foreach ($galleryRecords as $record): ?>
<h3><?php echo $record['title'] ?></h3>
<p>
<?php foreach ($record['pictures'] as $upload): ?>
<?php if ($upload['hasThumbnail']): ?>
<a rel="rokbox[650 424](<?php echo $records['num']?>)" href="<?php echo $upload['urlPath'] ?>" title=""><img src="<?php echo $upload['thumbUrlPath'] ?>" width="<?php echo $upload['thumbWidth'] ?>" height="<?php echo $upload['thumbHeight'] ?>" alt="" /></a><br/>
<?php elseif ($upload['isImage']): ?>
<img src="<?php echo $upload['urlPath'] ?>" width="<?php echo $upload['width'] ?>" height="<?php echo $upload['height'] ?>" alt="" /><br/>
<?php else: ?>
<a href="<?php echo $upload['urlPath'] ?>">Download <?php echo $upload['filename'] ?></a><br/>
<?php endif ?>
<?php break; ?>
<?php endforeach ?></p>