I have a program where a admin can upload a image into phpMyAdmin. What I want to achieve is a page to echo out all the pictures in a table data and the picture name is another table data using sql. Clicking the name will link to another page. The problem is that each picture has different name. How do I echo the picture name into a clickable link?
echo "<td>";?><img src="<?php echo $row["path"];?>" height="300" width="700"> <?php echo "</td>";
currently this is the code that I'm getting results from