select max from array

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
itsmani1
Forum Regular
Posts: 791
Joined: Mon Sep 29, 2003 2:26 am
Location: Islamabad Pakistan
Contact:

select max from array

Post by itsmani1 »

Code: Select all

$idz[0] = 3.0000
$idz[1] = 2.0000
$idz[2] = 2.4000
this is my array i want to select max form it, is there any function available for this or i have to it manually? i also need to know its location. means at which location its present.
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Post by shiznatix »

Post Reply