I
I
Igor Tkachenko2016-06-21 15:40:18
PHP
Igor Tkachenko, 2016-06-21 15:40:18

How to structure an array with data?

There is a tree with so-called classifications: Each item has
25d605ea5b9a46a8bc061569d4d7326e.png
sub-items, they all characteristically belong to each other, for example: from 1 array to structure all sub-items to their main items?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
shagguboy, 2016-06-21
@shagguboy

nested set

M
Max, 2016-06-21
@AloneCoder

Adjacency List Model
Nested Set Model
ps risovach.ru/upload/2013/07/mem/tvoe-vyrazhenie-lic...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question