Sort in MYSQL PHP date -
$mydate = date('h:i, j f y'); 11:51, 11 november 2016
what wrong here?
select id, mydate, date(mydate) date2 mytable order date2 desc limit 5
its showing me this:
11:41, 10 november 2016 20:17, 4 november 2016 22:49, 9 november 2016 21:04, 9 november 2016 21:32, 3 november 2016
Comments
Post a Comment