Ok so we all know how to load an image that is in a mysql db:
echo “<img src=“showimagescript.php?id=”.$id.”" border =“0”>";
…for example.
BUT, what if I want that image to link to something??? The thing is, in my script I am not passing over the id variable (like in the above example) cause the query I do it on the imageshowscript, for a variety of reasons… so how do I get a value back from the imageshow script back to the page that shows the banner? am I making sense? Cause as far as I know the only thing I can do on the imageshow script is print the header (mime type) and the contents of the image, and thats how it is shown, but is there a way to make those contents a link?? Thank you for all your suggestions