Gone blind on building category tree

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ubernissen
Forum Newbie
Posts: 1
Joined: Sun Aug 31, 2008 4:11 am

Gone blind on building category tree

Post by ubernissen »

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:
cat_func_data.rar
Catagory functions and src data
(728 Bytes) Downloaded 60 times
Anybody help, it's trashing my project!
Post Reply