in reply to selectrow_array() confusion

Just out of curiosity, are you getting the expected value in $min?