Forum Moderators: coopster
<img src="images/<?php echo $row_Records['imagefile'];?>">
However, I don't see a picture on there when I test it (Mozilla and IE). I see the following on the source from the browser:
<img src="images/"bookcase.jpg>
I can't seem to figure this out and any help would be appreciated.
First <img ...> tag is for image address, so the browser can fetch the image. And NOT the image itself.
In your situation it should be something like:
<img src="image.php"> Here is some working example:
[onlamp.com...]
I assumed that 'imagefile' is the image itself, not the image filename. \-:
Anyways, I created the table with the following command
CREATE TABLE items (name VARCHAR(30), imagefile VARCHAR(30));
and I inserted the row as follows:
INSERT INTO items VALUES ('"Bookcase"','"bookcase.jpg"');
Hopefully that will clear all confusion :)
EDIT: Nevermind guys, dkin, you were right, it was the database row, I took out the quotation marks and it worked.