Re: [Hansaardappel] Excluding specific record
Hi,
If you know the record number of the record you want to exclude on that particular page, you could try this:
<?php $exclude= *NUMBER*; ?.
...
<?php foreach ($records as $record) : ?>
<?php if($record['num']!=$exclude): ?>
*DISPLAY CODE *
<?php endif ?>
<?php endforeach ?>
Replacing *NUMBER* with the record number you wanted to exclude. You can modify this if you like to match a title, or any other field, so long as you know the EXACT value of the record you don't want to display.
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/