The problem is your " usage, you can do something like
echo "<img src='$variable_name'>";
Echo "<img src='" . $row["image"] . "'>'";
P.d. Sorry about my english :P
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.
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php