I trying to get the minimum values from the any column contains \"xx\" in the column name.
Below is my code:
Instead of looping again inside just use the min() function.
$lowest_keys = array(); foreach($array as $item) { unset( $item[ 'id' ] ); $lowest_keys[] = min( $item ); }