-1
Good afternoon, I need to sort the dates that come from the database, by day/month/year. EX: 16/07/2020 30/07/2020 01/08/2020
$sql_listar = "SELECT idprova as idprova, descricao as descricao ,disciplina as disciplina, DATE_FORMAT(dtprova,'%d/%m/%Y') as dtprova, idprof as idprof from prova order by dtprova";
failed to inform how the date is in the bank. DATETIME? DATE?
– user60252
What should you do if someone answers your question? https://answall.com/help/someone-answers See how to accept at https://i.stack.Imgur.com/evLUR.png
– user60252
@Leocaracciolo I’m wearing the DATE
– Fernando Moreira