hiding content based on uri
hey Ray
Just wondering how I would hide a result based on the uri
I have this
<?php
while(!$CottagesNav->atEnd()) {
?>
<a class="link-button propButton" href="accommodation/<?php echo($CottagesNav->getColumnVal("Permalink")); ?>"><?php echo($CottagesNav->getColumnVal("ProductName")); ?></a>
<?php
$CottagesNav->moveNext();
}
$CottagesNav->moveFirst(); //return RS to first record
?>
If you go to this page http://clients.motley.site/starfarm/accommodation/shepherds-hut you'll see the 3 records as shown here http://prntscr.com/bkm0lr
I am trying to hide the button that is associated with the page it is on - eg the live page I have linked to shows content for shepherds hut so dont want the shepherds hut button to show. have attached the page as well
thanks