Charlotte Posted February 15, 2003 Share Posted February 15, 2003 Is it possible to write a mySQL-statement like this? … ORDER BY Something ASC, Another_Thing DESC I only end up with “Supplied argument is not a valid MySQL result “ Is there any other way I can solve this problem? Quote Link to comment https://forums.phpfreaks.com/topic/153-order-by/ Share on other sites More sharing options...
effigy Posted February 15, 2003 Share Posted February 15, 2003 the order by is fine. the \"not a valid result\" means a few things: 1 the database was not connected to properly 2 a database was not selected properly 3 the query has faulty syntax 4 there are simply no results for that query try running your query ad hoc at the mysql cmd line and see if you get something back. Quote Link to comment https://forums.phpfreaks.com/topic/153-order-by/#findComment-459 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.