I am using the following code to execute a query to sqlite, and
then turn and convert the array of the output to a string.
This works, however each element is run into the next with no obvious way 
to make it so each element has something I can use to delimit.
The output of this is being passed back via soap call.
Multiple lines of single field output work fine with this.
A single line with multiple elements, e.g. columns from the database query 
output, are run together.

Thanks in advance for any advice on the proper way to do this.

"I am not your puppet. Since when? Now get your spongy ping ass out there 
and dance for the cameras" -Nora in (Death to Smoochy)