Gone blind on building category tree
Posted: Sun Aug 31, 2008 4:44 am
Found a bug in my finished functions for building a multidimensional array of categories based on id and parent_id.
When adding rows in 3 level, its only the last on added that exists. It keeps over overwriting!
Resulting in multible rows in 1 and 2 level, but only 1 row in 3 level.
What am i missing?
PHP functions and src data attached: Anybody help, it's trashing my project!
When adding rows in 3 level, its only the last on added that exists. It keeps over overwriting!
Resulting in multible rows in 1 and 2 level, but only 1 row in 3 level.
What am i missing?
PHP functions and src data attached: Anybody help, it's trashing my project!