lastchild Posted December 29, 2003 Share Posted December 29, 2003 Hi, I am using Dreamweaver MX 6.1 with PHP and mysql, and I have images that have been uploaded into my database which I would like to display from a search form. The images are uploaded to a folder called \'files\' and the db field is called \'filename\'. This is what I do... I create a recordset on the page and then I go- Insert > Image > Data Source, and I select the field which has the image. All I get on my results.php page is a transparent square with a red X in it. This is what I am using for my code: <img src=\"files/<?php echo $row_rsResults[\'filename\']; ?>\"> Can someone please help? TIA Link to comment https://forums.phpfreaks.com/topic/1572-displaying-db-images-dynamically-help/ Share on other sites More sharing options...
thefisherman Posted February 1, 2004 Share Posted February 1, 2004 Hi! Well, i have a site up and running displaying images dynamically from MySQL. Though i'm not using Dreamweaver to do so. I only use Dreamweaver for a nice looking template in which i echo or print the images from the DB using a search engine written in PHP. Check out the site and let me know if this is what you mean. www.graphicalsolutions.nl Regards thefisherman Link to comment https://forums.phpfreaks.com/topic/1572-displaying-db-images-dynamically-help/#findComment-5394 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.