For future reference print_r($array) dumps the contence of an array, very useful for debugging things.
print_r($array)