Just a quick snippet for printing out an array in a nice way.
print( "<pre>".print_r( $array_data, true ) . "</pre>" );