how to create a link to a controller? - 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: how to create a link to a controller? (/showthread.php?tid=45691) |
how to create a link to a controller? - El Forum - 10-01-2011 [eluser]Unknown[/eluser] So I've just started using codeigniter again after about a 2 year break. I'm having a real problem with creating a link to a different controller. In essence, my home page loads fine. When I create a link to a new controller I am either getting a 404 error or a 403 error. <a href='<?=base_url()?>controllers/news'> any suggestions? thanks, alan |