The problem is your " usage, you can do something like

echo "<img src='$variable_name'>";

Or

Echo "<img src='" . $row["image"] . "'>'";




Erick Bonilla

P.d. Sorry about my english :P




-----Original Message-----
From: Michael Conway [mailto:[EMAIL PROTECTED]] 
Sent: Saturday, September 21, 2002 2:05 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Opening files


 

I am trying to use text and images from separate files to populate
descriptions and images for specific queries.  I have used something
like  echo "<img src="$row["image"]">"; with little success (parse error
expecting "," or ";"  - on the line in question).  I assume that I would
have to use fopen for the text but have not found a suitable example.

 

Any help would be greatly appreciated.

 

Thanks.

 

Michael Conway

[EMAIL PROTECTED]

(703) 968-8875

 



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

Reply via email to