[eluser]WanWizard[/eluser]
If you generate what? Some code that produces that result would be handy.
My guess is that you're looping over the array and echoing the value. That's not going to work with array's, you can't echo those (as you have noticed).
So if your array is multi-dimensional, you have to check if the value is an array, and if so, loop over that too...