$query ="SELECT entrytitle, entrytext, entrydb, DATE_FORMAT(entrydate, '%M %d, %Y %T') AS date FROM weblog2 ORDER BY entrydate DESC LIMIT 10";