http://www.php.net/manual/en/function.asort.php
http://www.php.net/manual/en/ref.array.php Is the information (non-mileage) going to be stored in a database? --------------------- John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine mixtura dementiae fuit > -----Original Message----- > From: R.S. Herhuth [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 25, 2002 3:10 PM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Brain Twister > > > > I have a series of offices (11 at the present time). Each > office has a > CITY STATE ZIPCODE and a MILEAGE. What I need to do is to > sort them by > mileage which is dynamically calculated earlier in the script. I need > the offices to be stored in an array and sorted by the MILEAGE after > which I will return them in the order that they have been sorted. > > How can I do this? > > Ron > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php