On Sat, 6 Apr 2002 18:21:10 -0600, Peter J. Schoenster
[EMAIL PROTECTED] wrote:
I tried the above.
uksort ($ArrayOfNewsLinks, SortByValue);
function SortByValue ($a, $b) {
if ($a[language] == $b[language]) return 0;
return ($a[language] $b[language]) ? 1 : -1;
}
or this
On Sat, 6 Apr 2002 10:36:18 -0600, Peter J. Schoenster
[EMAIL PROTECTED] wrote:
$ArrayOfNewsLinks = array(
http://dailynews.yahoo.com/fc/World/Brazil/; = array(
title = 'Yahoo Brazil News',
category = 'news',
language = 'English',
),
...
function cmp ($a, $b) {
if
On 6 Apr 2002, at 14:38, Chris Adams wrote:
On Sat, 6 Apr 2002 10:36:18 -0600, Peter J. Schoenster
[EMAIL PROTECTED] wrote:
$ArrayOfNewsLinks = array(
http://dailynews.yahoo.com/fc/World/Brazil/; = array(
title = 'Yahoo Brazil News',
category = 'news',
language =
3 matches
Mail list logo