Page 1 of 1

displaying an image from mysql

Posted: Tue Jan 19, 2010 5:58 pm
by MrLorne
Hey everyone, I'm fairly new with PHP so I'm sorry if this seems a tad obvious.

I'm looking for a way to display an image from MYSQL.... here is what I've done


Image


I have a row for the image name and it goes in accordance with my other data. I have made sure the files are all in the right places and everything should be able to come up after I have coded my PHP


Image


Am I on the right track? any help would be greatly appreciated. :D
Please exclude the "$product['Thumb_Image']" as I know that totally doesn't belong there.

Re: displaying an image from mysql

Posted: Tue Jan 19, 2010 7:44 pm
by McInfo
There are some problems with the quotes. Read about strings.

Also, the HTML is invalid. A <tr> is missing and the <img> is not closed.

Edit: This post was recovered from search engine cache.

Re: displaying an image from mysql

Posted: Mon Jan 25, 2010 12:39 pm
by akuji36