RE: [PHP-DB] Opening files
| From: | Nivelvirtual.com | Date: | Sat, 21 Sep 2002 21:55:36 +0000 |
| Subject: | RE: [PHP-DB] Opening files | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-21894@lists.php.net to get a copy of this message | ||
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:mconway3@cox.net]
Sent: Saturday, September 21, 2002 2:05 PM
To: php-db@lists.php.net
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
mconway3@cox.net
(703) 968-8875