Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2002091

[PHP-DB] Multiple Sorts?? From: Chase (chase <email protected>)
Date: 09/10/02

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