Hello,

I want to make a sit where an image comes from a database. In the db I store
only the filename and path. I have the following code:
 <?php $ps = '"Pic/'.$row_photos['Photo_File_Name'].'"';
    echo $ps;?>

   <img src=<?php $ps; ?> >

The echo line print the good string e.g.: "Pic/Myphoto.jpeg"
But I can't see the image. Only a one small whit box wit red x (no image).

And if I try to put with hard code:  <img src "Pic/Myphoto.jpeg" > It works
fine.

What can I do?

Thanks!



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to