![]() |
overlapping variables - 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: overlapping variables (/showthread.php?tid=52293) |
overlapping variables - El Forum - 06-05-2012 [eluser]Gabi3xz[/eluser] I have page of edit dashboard/cat_edit/5(id of category) And on the same page I have a list paginated dashboard/cat_edit/1(page of list) $config['base_url'] = 'http://localhost/CodeIgniter/dashboard/cat_edit/'; Example i go edit cat 5 dashboard/cat_edit/5 lead me on page 5 but if I go to page 10 lead me edit cat 10. work but give the same value to both how do I solve? overlapping variables - El Forum - 06-05-2012 [eluser]Cristian Gilè[/eluser] Your post is a bit confused. Try to fix the base_url setting: Code: $config['base_url'] = 'http://localhost/CodeIgniter/'; overlapping variables - El Forum - 06-05-2012 [eluser]weboap[/eluser] simple solution will be to dived your listing and editing methods. dashboard/cat_list/1 dashboard/cat_edit/1 |