I'm using sessions to receive my info from my database table... But I'm not quite sure how to get a image because if I just say this:

echo "<img src='" . $_SESSION['pic_location'] . "' />";

I only get like a little black dot thingy.

I don't know if one could use the img tag in a certain way or not...

it gives me a string of the image's path and not the image itself. How can I solve this matter?

Thank you!

:)

Member Avatar
diafol

why are you using sessions? you should be able to pull them without using sessions. Anyway, look at 'view source' in the browser to see the actual html.