array math...

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

 



Hi!

if I have an multi dimensional array, like this:

$myArr[0]["points"] = 5; 
$myArr[1]["points"] = 19;
$myArr[2]["points"] = 12;
$myArr[3]["points"] = 46;

...and I need to get the highest value stored in the $myArr[]["points"]-element, in this case 46, how do I do it?

Thanks for your help!


.bobo

[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux