Jump to content

[SOLVED] Trouble with 'order by'


c_shelswell

Recommended Posts

Hi,

 

I'm having a bit of struggle with an order by mysql statement. My query is:

select * from news_tours where area='news' order by timestamp limit 0, 3 

 

This works fine and sorts everything if i don't have the limit on there but doesn't sort as expected when it's there. I'm sure this is very simple but if anyone could help that'd be great.

 

Cheers

Link to comment
https://forums.phpfreaks.com/topic/123738-solved-trouble-with-order-by/
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.