JsTree v1.0 - How to manipulate effectively the data from the backend to render the trees and operate correctly?
- by Jean Paul
Backend info: PHP 5 / MySQL
URL: http://github.com/downloads/vakata/jstree/jstree_pre1.0_fix_1.zip
Table structure for table discussions_tree
--
CREATE TABLE IF NOT EXISTS `discussions_tree` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`parent_id` int(11) NOT NULL DEFAULT '0',
`user_id` int(11) NOT NULL DEFAULT '0',
…