Jump to content

[SOLVED] PHP + MYSQL


phorcon3

Recommended Posts

could you actually group two different columns, and having one DESC and the other ASC?

 

for example:

$a = mysql_query("SELECT * FROM table WHERE columns GROUP BY column_1, column_2 DESC");

 

this will group both columns, and having them both in DESC order

 

but is there a way to have

 

column_1 ASC

 

and

 

column_2 DESC?

 

I would appreciate any help/comments on this. thanks!

Link to comment
https://forums.phpfreaks.com/topic/81520-solved-php-mysql/
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.