OK so I have a function, basically what it does is to echo a table of the object given.
lets say:
<?php
function print($obj)
{
print_r($obj);
}
...
so if call print, it and it will print the object. But now I want to have this object printed in a new window. How would I do that, without making the function its own php page and passing variables to it ?