How to call a controller from another controller ? |
[eluser]johnpeace[/eluser]
[quote author="juanvillegas" date="1297913279"]Well, theres no reason to do that, unless you just want to exit the controller and start running another one. In that case, just use redirect() function in the URL helper. See http://ellislab.com/codeigniter/user-gui...elper.html[/quote] It's true, the OP is missing the point of what a controller is/does in MVC arch. It's not whether it's possible to ask, ask if it's the best way to achieve what you're after (hint: it's not). |
Welcome Guest, Not a member yet? Register Sign In |