Re: Confused
| From: | Justin Patrin | Date: | Fri, 30 Jul 2004 21:54:04 +0000 |
| Subject: | Re: Confused | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-24299@lists.php.net to get a copy of this message | ||
On Fri, 30 Jul 2004 23:46:22 +0200, Schalk Neethling
<schalk@volume4.co.za> wrote:
> Why would the following line not be parsed in a PHP page?
>
> <img src="<?php echo $row_ads['full_img']; ?>"
> width="87" height="120" />
>
Are you saying that all other PHP code in the page is run, but this isn't?
This is how I would code that:
<?php
echo '<img src="'.$row_ads['full_img'].'" width="87"
height="120" />';
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder
paperCrane --Justin Patrin--