I have a date campom with all my date separated and I need to put in order as I do..get example that is not working ...
$query = mysql_query("SELECT * FROM 'mensagens' ORDER BY 'ano','mes','dia' ASC") or die(mysql_error());
It leaves in order but not in the right order date fields are formatted as 2 digits in numbers, type 06 - 04 - 2014