How to work around missing upload ^^

3 posts by 2 authors in: Forums > CMS Builder
Last Post: November 7, 2009   (RSS)

Re: [virgodesign] How to work around missing upload ^^

By Dave - November 2, 2009

Hi Avrom,

Try this:

<?php $upload = @$record['photos'][0] ?>

<?php if ($upload): ?>
show upload
<?php endif ?>

<?php if (!$upload): ?>
show no upload image
<?php endif ?>


Let me know if that works for you!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] How to work around missing upload ^^

By avrom - November 7, 2009

Hi Dave, Perfect !

Thanks ^^