hey i am trying to display images from a path stored in mysql
echo "<img src="$pathtofile" >;
but i don't get the image to display
i get errors in my log that tells me that the file isn't there but it actualy is ..
help please
Some code would be helpful.
You need to escape your double quotes
echo "<img src=\"$pathtofile\" >";
well as for code well
i grabed values from mysql wich contain img path and img description
that all works well
its just when outputed to the browser the image will not display
turns out the way i store the files was causing a problem thnks for the help ...
I assume you have checked the html ouput and it looks fine?
Do your file names have any special characters in them?