Date Format gone wrong
It is displaying the wrong date after being echoed but is fine when just the date is echoed as well as in the database.
$date = $row['date'];
echo "<p><b>" . $row['review'] . "</b></p><p>" . date("F jS, Y g:i A", $date) . "</p><h1 class='centered'>Comments</h1></article>";
Coding is a challenge, get used to it
Always remember to debug
Try the guess & check method
Break it down into simple steps
Last edited by elitis; 12-10-2012 at 07:38 PM..