Load data to spreadsheet from database

I am trying to load data to a spreadsheet from an Oracle database. I just cannot seem to get it to work. I am pretty sure my database connection is working. I just cannot figure out how/where to place either a database query or the results from a query (json file or PHP array). Any suggestions? Thank you.
-Mike

I apologize for the delay with the reply.
Unfortunately the usage of the dhtmlxSpreadsheet with oracle database is not supported. If it is critical for you project you may post to sales[AT]dhtmlx.com to get the details of the possible customization.