note 18691 added to function.array-multisort

From: Date: Thu, 31 Jan 2002 16:42:33 +0000
Subject: note 18691 added to function.array-multisort
Groups: php.notes 
Request: Send a blank email to php-notes+get-26097@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. -- http://www.php.net/manual/en/function.array-multisort.php http://master.php.net/manage/user-notes.php?action=edit+18691 http://master.php.net/manage/user-notes.php?action=delete+18691 http://master.php.net/manage/user-notes.php?action=reject+18691

« previous php.notes (#26097) next »