![]() |
dynamic menu from database - 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: dynamic menu from database (/showthread.php?tid=50618) |
dynamic menu from database - El Forum - 04-02-2012 [eluser]ranggadablues[/eluser] Hi there, I'm new in codeigniter and I'm sorry if my english not so good.. I have a website that left panel and right panel, on left panel I use for menu and right panel I use for product detail. And my menu I use database, because I want that my web have a dynamic menu, but I don't know how to implement in codeigniter when I click one of the left panel menu and right panel is showing from menu that I was click here's my script: model Code: function show_all_produk() { controller Code: function store() and my view Code: <!-- left panel --> please advice? thank you dynamic menu from database - El Forum - 04-02-2012 [eluser]ranggadablues[/eluser] anyone? who can give me advice? thank you dynamic menu from database - El Forum - 04-02-2012 [eluser]Mauricio de Abreu Antunes[/eluser] Code: function show_all_produk() { Please, put a print_r function, printing your result array. Code: print_r($produk->result()); dynamic menu from database - El Forum - 04-02-2012 [eluser]ranggadablues[/eluser] i found my solutions thank you |