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
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
--- 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
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
4 matches
Mail list logo