I have a flat array with menu items. I need a script/function to put them in a tree structure array, based on their parent values. Each item has only 1 parent value, so you will need to figure out how to populate the whole tree. I need this with as little loops as possible. I would presume a populate function would do the job, but i'm having trouble making it.
The attached file has the start array and output of the desired end.
Note, the end results has sequential keys, not the original keys and parent value is not there, and have have e data array (empty and not).
Hey there, I am a graduate of Bachelors of science in Software Engineering. I have done various projects of variants types for number of people. I am a developer with skills of professional level and I exhale in graphic designing too.
I am also an active member of platforms providing services to the end user and have completed number of projects of different genre there. I am a diligent, hardworking individual who has proficient English speaking and writing experience.
I assure you that I am a perfect solution to all the problems you want to be solved. Feel free to contact me anytime and get yourself have a good experience of a lifetime
$25 USD en 1 día
5,0 (93 comentarios)
5,8
5,8
11 freelancers están ofertando un promedio de $34 USD por este trabajo
I'm a Web Developer having a lot of experience in PHP,MySql,Codeigniter,Wordpress,HTML5,CSS3,Javascript,jQuery,Ajax,XML,Web Searching, Web Scraping, Data Entry, Data Processing, Excel etc. I can do this for you. Please consider my bid.
Thanks
Hey, Hi.
There is a great desire to work. I look forward to our cooperation. Award me so we can get started.
I am an Experienced Web Application Developer and Application Architect with more than 5+ years of experience in Front End and Backend Technologies both.
I'll wait for your answer in the chat.
Hello Dear
AJIS is a software firm working successfully since years and working successful due to expert team of developers, programmers and graphic designers having expertise in various up to date technologies. Developers and Programmers of my firm will provide you the required work with efficient and reliable way. And we are committed until you get fully satisfied from the needs of this project.
AJIS is a company worked thousands of clients with 31 Multinational companies as software development section and we have 13 companies on board for our services section. By continuing our best services, I would like to offer you the services of my firm, and choose the best of my skilled worker for your project to provide you all what you need. I believe to create the best working relation with every client I work, with and to create relation for long term work.
Contact me soon to get your work done within time limit. Quality of work is guarantee and rates are negotiable, Pay for the quality only when you get satisfied from our work.
Regards,
AJIS Solutions