Jump to content

help reversing query results


CyberGuru

Recommended Posts

I am using the following query to retrieve the last 20 results of my database, but I need them not to be in descending order.  Is there anyway I can accomplish this with the query or do I need to handle it in php?  Thanks for your help.

 

SELECT * FROM messages ORDER BY id DESC LIMIT 0,20

Link to comment
https://forums.phpfreaks.com/topic/240076-help-reversing-query-results/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.