Hi guys, I figured out the error:
Your code:
$sql = "SELECT *, DATE_FORMAT('NewsDate', '%d/%m/%Y') as newDate FROM news ORDER BY NewsDate DESC";
was almost correct, you're not supposed to put quotes around NewsDate.
The correct code would be:
$sql = "SELECT *, DATE_FORMAT(NewsDate, '%d/%m/%Y') as newDate FROM news ORDER BY NewsDate DESC";
Thanks for the help guys, saved me a lot of trouble.