PHP Script to output JSON object for nestable jquery plugin -- 2

Completed Posted Oct 19, 2015 Paid on delivery
Completed Paid on delivery

I need a php script that takes the attached MySQL output and echos a JSON response in this format - [{"id":1},{"id":2,"children":[{"id":3},{"id":4},{"id":5,"children":[{"id":6},{"id":7},{"id":8}]},{"id":9},{"id":10}]},{"id":11},{"id":12}]. The actual tree needs to be

UPC and Description

-Distributor

--Warehouse and Division or DCCode

I assume it is a nested loop based on change in values

This is a repost. Original script is attached and is not working for csv also attached.

Java PHP

Project ID: #8722767

About the project

9 proposals Remote project Active Oct 19, 2015

Awarded to:

rinsadsl

Hi Good Day Thanks for inviting me for the project. I can help you on this. Looking forward to work with you. Thanks Rinsad

$34 USD in 1 day
(572 Reviews)
8.0

9 freelancers are bidding on average $25 for this job

acer2004sl

A proposal has not yet been provided

$35 USD in 0 days
(210 Reviews)
6.6
ipistis

A proposal has not yet been provided

$34 USD in 1 day
(42 Reviews)
4.9
thiagoloureiro88

I'm interested in the job and am ready to start working with you. If you are interested please contact me

$25 USD in 1 day
(6 Reviews)
2.2
dev7fares

Aucune proposition n'a encore été fournie.

$16 USD in 3 days
(0 Reviews)
0.0
rabnawazjansher8

hello sir i ill do that project and give you one time without any delay i m good to this job becuase i have much knowlege about json

$17 USD in 2 days
(0 Reviews)
0.0
zatkanfi

I solved similar things before. Deliver to you on time and high quality.

$20 USD in 2 days
(0 Reviews)
0.0
faozi

i can help you using codeigniter to build server side if you want. that is Model view controller MVC design pattern and very easy to use this.

$25 USD in 6 days
(0 Reviews)
0.0