<?php if(!empty($row_rsWhatever['imageField'])) { ?>
<img src="<?ph echo $row_rsWhatever['imageField'] ?>">
<?php } else { ?>
<p>No Image</p>
<?php } ?>
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================
"Prellyan Luxtintner" <webforumsuser (AT) macromedia (DOT) com> wrote
Quote:
Hey there,
I have an image returned recordset and am wondering how i can display a
default image if there is not an image inserted into the database so i
dont get
the image place holder displaying when the recordset is null
Thanks |