I have this script which displays photos, it looks though a SQL search displaying photos. I also have a jQuery script which will display a box upon a click like below.
This works well but as each photo has the same DIV tag it only shows the first photo ID i want the content to be different.
how can i do this?
<a href='#' class='basic'>Email me a copy</a>
<div id="basic-modal-content">
<?php echo "Photo ID: " . $row['PhotoID']; ?>
</div>