I google and google and read 100000 tutorials but i think this is inposible to do in codeigniter on model, controller and views.
Am tring to show my database records like this :
Default Category
|----- Sub category
| ----One more category
|----- Somthing else
I try with LFT and RGT cols but i realy dont much understand that concept.
I read this and try that function to optimize in Codeigniter model but that only work in model. http://www.sitepoint.com/hierarchical-data-database-2/
http://mikehillyer.com/articles/managing-hierarchical-data-in-mysql/
I now have simple db sheme : Categories with cols id, parent_id, title
Any1 can give me one simple example... Please
Thanks
foreach()