Re: Looping through array

From: Date: Thu, 16 Nov 2006 21:14:32 +0000
Subject: Re: Looping through array
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-244750@lists.php.net to get a copy of this message
Darrell Brogdon wrote:
So in other words, you have an array like $arr = array(1,2,3,4,5,6,7,8,9,10) but you want it to render on the page as: 5 4 3 2 1 10 9 8 7 6 right? That would be correct. James Tu provided a solution that I think will work. I'm always open to other suggestions of course.
-- W | It's not a bug - it's an undocumented feature. +-------------------------------------------------------------------- Ashley M. Kirchner <mailto:ashley@pcraft.com> . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Imaging . 3550 Arapahoe Ave. #6 http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A.

« previous php.general (#244750) next »