Re: [PHP] restating plea for help with sort

2003-02-27 Thread Jason Lange
EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, February 27, 2003 12:04 PM Subject: Re: [PHP] restating plea for help with sort Hmm well upon first glance looks like all you need to do is loop that array and start a new array within the loop. An If/Else construct checks If the

Re: [PHP] restating plea for help with sort

2003-02-27 Thread Kevin Stone
t; <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, February 27, 2003 12:04 PM Subject: Re: [PHP] restating plea for help with sort > Hmm well upon first glance looks like all you need to do is loop that array > and start a new array within the loop.

Re: [PHP] restating plea for help with sort

2003-02-27 Thread Kevin Stone
lly or use array_push() and array_unshift(). Search the manual for more information. Hope that helps. - Kevin - Original Message - From: "Jim Long" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 27, 2003 11:35 AM Subject: [PHP] restating plea for help

[PHP] restating plea for help with sort

2003-02-27 Thread Jim Long
Hi, I have an array with an html link as key and different $vars as val: $list = array ( 'http://someplace.com/";>some place' => $vendor1_total, 'http://anotherplace.com/";>another place' => $vendor2__total, [snip] etc.. some vals are numeric and some vals are "n/a" asort works to sort the arra