repeating headline

5 posts by 2 authors in: Forums > CMS Builder
Last Post: January 7, 2011   (RSS)

Re: [socanews] repeating headline

By Jason - January 7, 2011

Hi,

Could you attach article.php so I can take a look at all of the code.

Thanks
---------------------------------------------------
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] repeating headline

By Joseph - January 7, 2011

Hi Jason

Article page attached.
Attachments:

article.php 10K

Re: [socanews] repeating headline

By Jason - January 7, 2011

Hi,

Try using this code:

<?php if ($key == 0 || $morenewsextra['num']==$morenews['num']): ?><?php continue; ?><?php endif; ?>

This should stop you from outputting the same news record twice.

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] repeating headline

By Joseph - January 7, 2011

Thanks that works fine problem sorted.