Image display problem
| From: | Schalk Neethling | Date: | Fri, 30 Jul 2004 14:19:59 +0000 |
| Subject: | Image display problem | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-24293@lists.php.net to get a copy of this message | ||
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@volume4.co.za
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.