Quickly display data in an array

Hi

I would like a quick way to display data in an array.

Basically, I am using the SELECT function and need to know whether it is working or not. Is there a quick way to display the results (just for checking purposes)?

Thanks,

Matt.

Hi Matt,

As a quick solution, you can always do something like this:

echo '<pre>' . print_r($results_array, true) . '</pre>';

which will pretty-print the contents of the array to the screen.