I have found this Tree Chart that supports drag and drop: [url removed, login to view]
I want someone to modify this so i can get that edited tree in a PHP array so that i can do my things with some other modifications which are explained below.
The tree must be in the following format : [url removed, login to view]
For example the 1,2,3,4,5 are the things i want to sort in the tree which are by default NOT enabled thats why they are in the right side.
You must implement that in the same way so that i can play the Number 1 in the Root, the Number 2 under 1 OR root etc.
After that, as i said i have to get the sorted tree in a friendly way using array.
An EXAMPLE output can be the following
array(id=>1, parentid=>0, name=>'1'),
array(id=>2, parentid=>1, name=>'2'),
array(id=>3, parentid=>0, name=>'3'),
array(id=>4, parentid=>3, name=>'4'),
Which is the following in an example image:
[url removed, login to view]
Please note that the numbers i took from the right side are now dissapeared because i placed them in the tree.
Can you do it?
If you have made something similar in jquery with drag and drop And in tree format it's fine as long as i can get the output in an array