[PHP] arrays aka headache
Okay so I have a multidimensional associative array, $userlist[$file][$stat], $stat only contains one value, I want to sort $userlist[$file] based off some associative element in $stat, say like 'wins'. array_multisort isn't appropriate as far as I can tell since $stat isn't an array, it's just a value, like, $userlist[$files]['wins']=4. An exampleof the data would be as follows: $userlist['01']['wins']=4 $userlist['02']['wins']=9 $userlist['03']['wins']=2 I'd like, after running whatever command/function, to have the list be sorted as follows- $userlist['02']['wins']=9 $userlist['01']['wins']=4 $userlist['03']['wins']=2 I'm sure it's possible, I'm just clueless as to HOW to go about it. Any help much appreciated. Regards Louis Grenzebach
[PHP] BSD/GD/PHP/APACHE/SOS
Would anyone know of, or could possibly supply, a HOW-TO for installing GD, with Jpeg and freetype support for php, on a freebsd platform? I'm currently using apache 1.3.19 (just upgraded from 1.3.12), & php 4.0.4pl1 on FreeBSD Release 4.0. I've been trying for 4 days now to get it working, it's finally down to everything compiles and installs OK, but when it comes time to actually run apache, it's unable to find my X11 libs. If you know a work around for just that, it would also be extremely helpful. Thank you in advance. PKshifted -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]