Please answer this simple SPAM challenge: five minus three? (Example: nine)
Needed to get the index of the max/highest value in an assoc array. max() only returned the value, no index, so I did this instead. <?php reset($x); // optional. arsort($x); $key_of_max = key($x); // returns the index. ?>
<< Back to user notes page