Re: Sorting through an array

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



array_multisort(array_column($result, 'bibleAnagramWord'), SORT_ASC,
$result);


On Tue, May 6, 2014 at 9:29 AM, Tedd Sperling <tedd@xxxxxxxxxxxx> wrote:

> On May 5, 2014, at 11:26 PM, Ron Piggott <ron.piggott@xxxxxxxxxxxxxxxxxx>
> wrote:
>
> >
> > How can I sort this array alphabetically by “ bibleAnagramWord “ ---
> keeping it with the same “ reference “ and “ most_popular_views “ values?
>
> Try:
>
> array_multisort($bibleAnagramWord, $reference, $most_popular_views);
>
> Cheers,
>
> tedd
>
> _______________
> tedd sperling
> tedd@xxxxxxxxxxxx
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux