0

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!

:)

2
Contributors
1
Reply
3
Views
5 Years
Discussion Span
Last Post by diafol
0

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.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.