Image display problem

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

 



Can someone see why the following is happening? I have the following code in my PHP page:

<?php do { ?>
<td> <a href="view_ad.php?id=<?php echo $row_ads['id']; ?>"><img src="<?php echo $row_ads['full_img']; ?>" width="87" height="120" hspace="5" vspace="5" border="1" /></a>
<?php echo $row_ads['full_img']; ?><br /><?php echo $row_ads['campaign']; ?>
</td>
<?php } while (($row_ads = mysql_fetch_assoc($ads)) && ($row_ads['id'] <= 3)); ?>


After rendering the page in a browser the code produced by this block is as follows:

<td> ../media/ads/001.jpg<br />Spring 2004 </td> <td> ../media/ads/002.jpg<br />Spring 2004 </td> <td> ../media/ads/003.jpg<br />Spring 2004 </td>

From this it looks like it is completely ignoring this line:
<a href="view_ad.php?id=<?php echo $row_ads['id']; ?>"><img src="<?php echo $row_ads['full_img']; ?>"
width="87" height="120" hspace="5" vspace="5" border="1" /></a>

Any ideas why this is happening? Thanks!

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