Re: Confused

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Justin

What 'full_img' contains in the result from the database is something
like ../media/ads/001.jpg

Justin Patrin wrote:

On Fri, 30 Jul 2004 23:46:22 +0200, Schalk Neethling
<schalk@xxxxxxxxxxxxx> 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" />';




-- Kind Regards Schalk Neethling Web Developer.Designer.Programmer.President Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:schalk@xxxxxxxxxxxxx web: www.volume4.co.za

This message contains information that is considered to be sensitive or confidential and may not be forwarded or disclosed to any other party without the permission of the sender. If you received this message in error, please notify me immediately so that I can correct and delete the original email. Thank you.

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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux