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

เสร็จสมบูรณ์ โพสต์แล้ว Oct 19, 2015 ชำระเงินเมื่อจัดส่ง
เสร็จสมบูรณ์ ชำระเงินเมื่อจัดส่ง

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

หมายเลขโปรเจค: #8722767

เกี่ยวกับโปรเจกต์

9 ข้อเสนอ โปรเจกต์ระยะไกล ใช้งาน %project.latestActivity_relativeTime|แทนที่%

มอบให้กับ:

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 ใน 1 วัน
(572 รีวิว)
8.0

freelancer 9 คน กำลังเสนอราคาในงานนี้ โดยมีราคาเฉลี่ยอยู่ที่ $25

acer2004sl

A proposal has not yet been provided

$35 USD ใน 0 วัน
(210 รีวิว)
6.6
ipistis

A proposal has not yet been provided

$34 USD ใน 1 วัน
(42 รีวิว)
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 ใน 1 วัน
(6 รีวิว)
2.2
dev7fares

Aucune proposition n'a encore été fournie.

$16 USD ใน 3 วัน
(0 รีวิว)
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 ใน 2 วัน
(0 รีวิว)
0.0
zatkanfi

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

$20 USD ใน 2 วัน
(0 รีวิว)
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 ใน 6 วัน
(0 รีวิว)
0.0