![]() |
Multi level menu from database section table - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Multi level menu from database section table (/showthread.php?tid=28506) |
Multi level menu from database section table - El Forum - 03-13-2010 [eluser]Aljebrini[/eluser] hello, I have section table stored in database, each section have an [ ID, Title, ParentID ] ID : for section id Title : Section name ParentID : For parent section ID . this would give me tree hierarchy, what i aim to do is to get the hole sections from the database and put it in Multilevel menu .. Code: Private $Sections = null ; // this is class member but i still haven't the desired values ![]() Multi level menu from database section table - El Forum - 03-13-2010 [eluser]Aljebrini[/eluser] that's will work successfully Now ![]() take a look Code: Class Section Extends Model { |