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

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


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
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.




Michael Conway


(703) 968-8875


PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to