note 18691 rejected from function.array-multisort by danbeck
| From: | danbeck@php.net | Date: | Wed, 13 Mar 2002 15:57:48 +0000 |
| Subject: | note 18691 rejected from function.array-multisort by danbeck | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-27742@lists.php.net to get a copy of this message | ||
I feel compelled to note that most times, people can and should just use the ORDER BY clause in
their SQL statements. Every database product supports it, and you'll have an easier time
maintaining the resultant program. Don't use array_multisort on the results of a SQL call. Let
the database do the work. It's better at that sort of thing anyway.