Puyoi usare STR_TO_DATE() direttamente nella query di MySQL
http://dev.mysql.com/doc/refman/5.1/...on_str-to-date
Codice PHP:SELECT *,STR_TO_DATE(CONCAT(campo_data,' ',campo_ora),'%d/%m/%Y %H:%i') nuova_data FROM mia_tabella ORDER BY nuova_data
Puyoi usare STR_TO_DATE() direttamente nella query di MySQL
http://dev.mysql.com/doc/refman/5.1/...on_str-to-date
Codice PHP:SELECT *,STR_TO_DATE(CONCAT(campo_data,' ',campo_ora),'%d/%m/%Y %H:%i') nuova_data FROM mia_tabella ORDER BY nuova_data