[FX.php List] Sorting PHP Results

Gjermund Gusland Thorsen ggt667 at gmail.com
Thu Oct 16 16:30:24 MDT 2008


Or perhaps this?

http://www.php.net/manual/en/function.array-multisort.php

ggt

2008/10/17 Jonathan Schwartz <jschwartz at exit445.com>:
> Try this:
>
> http://us3.php.net/sort
>
> J
>
> At 3:10 PM -0700 10/16/08, Tanner Ellen wrote:
>>
>> I have an FX.php website and I am hitting a brick wall on this one. Does
>> anyone know of a way to sort a PHP array without using filemaker.  Basically
>> I have a record set that is returned and I want to sort the returned record
>> set based off of a calculated field.  Filemaker is very slow sorting records
>> when based on a calculated field so  I thought I could sort the records once
>> they are returned using strictly PHP. I was thinking that since a record set
>> is returned into an array that maybe I could use the sort() function or
>> asort() to sort that array and then display the new sorted array.  Will this
>> work for displaying records on the website?
>>
>> Thanks for any help.
>>
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>
>
> --
> Jonathan Schwartz
> Exit 445 Group
> jonathan at exit445.com
> http://www.exit445.com
> 415-370-5011
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>


More information about the FX.php_List mailing list