That did not fix it. I think maybe I have not explained myself clearly. Often times when I post here my thinking is so cluttered that it should be easy to explain myself incoherently. And I also keep from using correct PHP terminology because of my ignorance on it.
Ok, I'll try to explain a bit differently...
... let's say I type the following line into the URL bar:
http://www.myserver.com/myfolder.com/thumbnail.php?id=3
The script has always functioned properly just like that.
What that particular script does as I'm sure you can tell by the name is loads only the thumbnail image from a MySQL database. I need to be able to display all the thumbnails in the database on a 'main' php page. These thumbnails are for various products for sell and include description, cost, etc displayed next to them.
Anyway, as I said above, if you type the url of the script it works correctly. However, if I incorporate this:
<img src=thumbnail.php?id=3>
into the 'main' php page, it will not display the thumbnails properly. Weird thing is that it WILL display them if the above line is in an HTML page with no PHP on it. I need it in PHP though!
Am I making myself any clearer? I think I am not communicating very well here sometimes. Oh well 🙂
I appreciate the help you've given me so far and desperately look forward to any other help you may have to offer. I really don't want to have to store just the URLS for the files in the db, then the pictures in a folder... i'd much rather store the binary file in the DB if possible, and I know it is, just gotta figure out how to get the 'main' script worked out!
Thanks!
Antithesis