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

Basically how to I use print_r; in an extension inorder to show the results of an array on the page, not at the top of the screen?