[PHP] image source from PHP

2003-01-23 Thread Karina S
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

Re: [PHP] image source from PHP

2003-01-23 Thread Justin French
can you copy paste a little bit of the HTML source of what you're doing? justin on 24/01/03 10:05 AM, Karina S ([EMAIL PROTECTED]) wrote: 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

Re: [PHP] image source from PHP

2003-01-23 Thread Chris Shiflett
--- Karina S [EMAIL PROTECTED] wrote: img src=?php $ps; ? Try this instead: img src=? echo $ps; ? Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] image source from PHP

2003-01-23 Thread Philip Olson
img src=?php $ps; ? img src=?php echo $ps; ? Regards, Philip -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php