Multiple Sorts??
| From: | Chase | Date: | Tue, 10 Sep 2002 15:23:57 +0000 |
| Subject: | Multiple Sorts?? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-21673@lists.php.net to get a copy of this message | ||
Is there a way that I can sort data twice when it is being pulled from the
DB? Here is a sample line of my code:
$result = mysql_query("SELECT * FROM pfiles WHERE cdate >= '2002-07-01'
ORDER BY 'cdate' DESC", $link);
I would like to be able to sort this data FIRST by 'cdate' then by 'vendor'
Is this possible?
Thanks!
Chase