Jump to content

[SOLVED] Output code..


forumnz

Recommended Posts

I have a script that outputs data like this:

 

{success: true, data: [{"id":"1","fld1":"text","fld2":"text","fld3":"text","fld4":"text","fld5":"text","fld6":"text","fld7":"text","fld8":"text"}, {"id":"2","fld1":"text","fld2":"text","fld3":"text","fld4":"text","fld5":"text","fld6":"text","fld7":"text","fld8":"text"}], 
form: {"fld9":"text","fld10":"text","fld11":"text","fld12":"text"}}

 

How can turn that first part of it (the lines that start with id) into an array?

 

Thanks a lot :)

Link to comment
https://forums.phpfreaks.com/topic/157298-solved-output-code/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.