using Info Field

3 posts by 2 authors in: Forums > CMS Builder
Last Post: March 13, 2012   (RSS)

Re: [kcmedia] using Info Field

By Jason - March 13, 2012

Hi,

Try putting your break statement inside your if statement like this:

<?php foreach ($used_motorcyclesRecord['images'] as $upload): ?>
<?php if ($upload['hasThumbnail']): ?>
<?php if ($upload['info3'] == "Y"): ?>
<img src="<?php echo $upload['thumbUrlPath3'] ?>" alt="" />
<?php break; ?>
<?php endif ?>

<?php endif ?>
<?php endforeach ?>


Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] using Info Field

By KCMedia - March 13, 2012

Hi Jason

thank you very much it worked great.
Thanks



Craig

KC Media Solutions

www.kcmedia.biz