php-db | 2002091
Date: 09/10/02
- Next message: Aaron Wolski: "[PHP-DB] PHP in a javascript function with DB calls."
- Previous message: Maureen: "Re: [PHP-DB] Problem with SQL"
- Next in thread: Petr Tomenendál: "Re: [PHP-DB] Multiple Sorts??"
- Reply: Petr Tomenendál: "Re: [PHP-DB] Multiple Sorts??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Aaron Wolski: "[PHP-DB] PHP in a javascript function with DB calls."
- Previous message: Maureen: "Re: [PHP-DB] Problem with SQL"
- Next in thread: Petr Tomenendál: "Re: [PHP-DB] Multiple Sorts??"
- Reply: Petr Tomenendál: "Re: [PHP-DB] Multiple Sorts??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

