php ID appears in text when adding href link using PowerCMS
Hi there. When adding dynamic links to CMS in PowerCMS, in the results page the ".php?ID=X" appears after the heading text. EG:
14-03-2017: News Story Title
(newsDetail.php?ID=5)
I carefully followed the video: https://www.youtube.com/watch?v=kbplAlzNexI&list=PL21CA2EF37DE22B2C&index=2&feature=plpp_video
Here is the code:
<?php do { ?>
<a href="newsDetail.php?ID=<?php echo $row_NewsRS['ContentPageSetOrder']; ?>">
<?php include('/www/visp/hollywo1/utiliteam.co.uk/WA_CMS/addtosite.php');
echo WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, 'News', 'NewsTitle', false, $row_NewsRS['ContentPageSetOrder']); ?>
</a>
<?php } while ($row_NewsRS = mysql_fetch_assoc($NewsRS)); ?>
I am using CMS in Design Extender with DWCS6. Can anyone see what I'm doing wrong?
Best, Badger