How can I take the array out of the equation? I have tried using foreach, while loops etc... and I can't seem to get around the array. I just want to go through each key of temp_dcr and compare some of the values. Would there be a way to do this using the each function?