phpbar.de logo

Mailinglisten-Archive

[php] array "schlauer" ausgeben?

[php] array "schlauer" ausgeben?

Sebastian Mendel lists at sebastianmendel.de
Don Apr 6 17:08:31 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Borchers schrieb:
>> foreach ($users_time_sum_array as $user_id => $user_times) {
>>    $times[$user_id] = array_sum($user_times);
>> }
>>
>> array_sort($times);
> 
> looks better;)
> 
> asort($times) meintest du, oder?

ahja, oder das ... ;-)


- --
Sebastian Mendel

www.sebastianmendel.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)

iD8DBQFENS7vX/0lClpZDr4RAmZ6AJ497boXrrk71DyncDykqU55wV6djwCePkLv
ThccoP0XDg3tkzjP+jF67w8=
=cLSt
-----END PGP SIGNATURE-----

php::bar PHP Wiki   -   Listenarchive