Thread:Project:Support desk/$output- query results into an array (2)/reply (2)

How do I output the results of an array in an extension. I have the query: I would like to put the results of the query into an array and output it into the browser so I can read what is in the array. How do I do this?