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

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


--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.

Compétences : Java, PHP

en voir plus : tree in jquery, jquery 1.2 3, jquery 1.11 2, php output json, jqgrid jquery plugin php, jquery plugin gallery php mysql upload, php script output text file, jquery plugin select boxes json examples, php script output excel sheet, php script output html file, perl script output table format, python script output text file, perl printing script output file

Concernant l'employeur :
( 15 commentaires ) Half Moon Bay, United States

Nº du projet : #8722767

Décerné à:


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

%selectedBids___i_sum_sub_4% %project_currencyDetails_sign_sub_5% USD en 1 jour
(572 Commentaires)

9 freelance font une offre moyenne de $25 pour ce travail


A proposal has not yet been provided

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 0 jours
(210 Commentaires)

A proposal has not yet been provided

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(42 Commentaires)

Hi I can do this for you. Please contact me for this task, I want to make a long relationship with you so I bid a friendship cost Skype: [url removed, login to view] Regards, An Nguyen

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(6 Commentaires)

Feel free to contact [url removed, login to view] is not any issue as well. we can manage each and everything via private messages.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(14 Commentaires)

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

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(6 Commentaires)

Aucune proposition n'a encore été fournie.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(0 Commentaires)

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

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(0 Commentaires)

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

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(0 Commentaires)

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.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 6 jours
(0 Commentaires)