You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
select *, TIMEDIFF('2014-04-24 18:54:49', ApprovalDate) as Delta,if(hour(ApprovalDate) < 12,date_format(ApprovalDate,'%l:%i a.m. PT %a, %b %e, %Y '),date_format(ApprovalDate,'%l:%i p.m. PT %a, %b %e, %Y ')) as Date from nmw_pressrelease where PRID= | /home/backsta/public_html/newmusicweekly.com/news2.php