RE: [PHP-WIN] ordering results

From: Date: Wed, 11 Dec 2002 18:33:13 +0000
Subject: RE: [PHP-WIN] ordering results
Groups: php.windows 
Request: Send a blank email to php-windows+get-17385@lists.php.net to get a copy of this message
You could either sort in PHP after you return the resultset, or you could use a sort option in your sql query. In MySQL, sorting is easy. I imagine it should be just as easy in any other db. Unless you are sorting the resultset by something odd, it's probably best to have the database sort it. Make the database do what it was designed to do and take a load off PHP. -Dash -----Original Message----- From: T B [mailto:timblackwell@hotmail.com] Sent: Wednesday, December 11, 2002 9:32 AM To: php-windows@lists.php.net Subject: [PHP-WIN] ordering results i have a database of weekly results and use a php script to compute some totals. how would i go about ordering the totals? thanks, t -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.windows (#17385) next »