Need help with a syntax error

2 posts by 1 authors in: Forums > CMS Builder
Last Post: June 6, 2014   (RSS)

By Zicky - June 6, 2014

Okay - I feel stupid. I found the issue, it was the use of a double echo. Below is the fix.

<?php if($upload = (@$record['document'][0])){ echo '<a href="downloader.php?num='.$record['num'].'" >Published: '.date("M Y", strtotime($record['date'])).'</a><br>'; } ?>