Hi,I have an image url stored in a database, I can display the image no problem using this code:
echo '<td><img src="'.$row['thumb'].'"></td>';
I am trying to use a variable as a link when you click on the image, as so:
<a href='showthumb.php?thumb=$clientthumb'></a>
I can use the image as a link but the $clienthumb variable does not show the value of the variable, for example:
I get the image with a link of showthumb.php?thumb=$clientthumb
but I need
The image with a link of showthumb.php?thumb=1 (the number one is $clientthumb value)
echo '<td><img src="'.$row['thumb'].'"></td>';
<a href='showthumb.php?thumb=$clientthumb'></a>