I’m looking at the demo videos at the CodeIgniter site and browsing through the documentation but its is unclear to my how I can achieve dynamic navigation from one page to another, depending on user input.
For example I’d like to have a login form that will either forward to a “success page” or a “login failed page”.
Where should I put this functionality?
Okay, so for this login example you’ll need the the Form Helper, the Form Validation Class and the URL Helper.
tl;dr
Use the redirect() function in the URL Helper to send the user to other pages based on logic in your controller.