Jump to content

Archived

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

Charlotte

Order by

Recommended Posts

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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

×

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.