using echo within an echo
Hi Ray
How would I add
<?php echo($NoticeCheck->getColumnVal("NoticeboardTitle")); ?>
to this (replacing the XXXX
<?php
if( strtotime($NoticeCheck->getColumnVal("NoticeboardDate")) >= strtotime('-31 day') ) {
echo '<a href="noticeboard.php" class="responsive-picture newNotice" title="New Notice" ><picture><img alt="New Noticeboard Post" src="./images/misc/notice.png"></picture></a>
<a class="link-text newNotice" href="noticeboard.php" style="z-index:998;">XXXX</a>';
}
?>
cheers