views:

76

answers:

1

How do I order records in a PHP query to MySQL by a field that contains TIME() timestamps in descending order?

+4  A: 

Use the ORDER BY clause like this:

SELECT …
FROM …
ORDER BY timestamp_field DESC
Gumbo