On Sat, 6 Jul 2002, markbm wrote:
I am trying to build a product detail page that pulls data from a
MYSQL database using PHP. The data for the page includes product images,
which I am trying to link to (i.e. from their location on the web
server) instead of loading the images into the
Thanks for the reply. The question is how to pull that hyperlink/file
location and display the image file on a PHP page. Basically, the text in
the FRONT_REND field is just an image name (1855.jpg), and I store the
prefix to that location on the page. I have included all the code from my
page
Instead of:
echo img src=http://www.website.com/images/.$result[FRONT_REND].;;
Wouldn't you want it to be:
echo img src='http://www.website.com/images/; . mysql_result($result,
0, 'FRONT_REND') . '';
...?
miguel
On Sun, 7 Jul 2002, markbm wrote:
Thanks for the reply. The question is how
-Original Message-
From: Miguel Cruz [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 08, 2002 12:56 AM
To: markbm
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Retrieving/Displaying hyperlinked images with PHP
Instead of:
echo img
src=http://www.website.com/images/.$result[FRONT_REND
4 matches
Mail list logo