Re: array_reverse

From: Date: Sat, 22 Jun 2002 17:20:04 +0000
Subject: Re: array_reverse
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-103404@lists.php.net to get a copy of this message
AMI> This would echo info by the order of the "id". I would recommend doing that in your SQL, unless you're doing other special processing. // for ascending order SELECT * FROM personnel ORDER BY id ASC // for descending order, aka reverse SELECT * FROM personnel ORDER BY id DESC - Julie --> Julie Meloni --> julie@thickbook.com --> www.thickbook.com Find "Sams Teach Yourself MySQL in 24 Hours" at http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20

« previous php.general (#103404) next »