PHP script after querying a DB

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I am looking for a script that can output the data in the following
Basically I am querying a DB to encode the output in a variation of
JSON format.

  "cols": [
  "rows": [

My approach is to store columns related array in variable1 and then
rows related array in variable2 and then print both. Any help in this
regard is highly appreciated.

thank you,

Re: PHP script after querying a DB

On 10/3/2011 8:02 PM, sandreev wrote:
Quoted text here. Click to load it

I don't think you'll find anything which will do what you want.  But it
shouldn't be very hard to create such a script.  What have you tried so far?

Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.

Site Timeline