Routing Question |
Hi guys.
I am trying to build some sort of registration/login thing with CodeIgniter. This is my first attempt so please let me know if you spot something outside the original issue. I have the registration form's action set to 'register/register_process' The register_process only takes care of checking if the username already exists, and creating if the user if it doesn't exist. At the end of the register_process method, I am telling it to load the dashboard view like so PHP Code: /** Username exists. */ The thing is, when the user gets created and the congratulations view is loaded, the URL says localhost/sitename/register/register_process. How do I make it show localhost/sitename/register/congratulations instead? |
Messages In This Thread |
Routing Question - by ironPotato - 09-25-2017, 11:14 PM
RE: Routing Question - by InsiteFX - 09-26-2017, 03:12 AM
RE: Routing Question - by ironPotato - 09-26-2017, 05:09 AM
RE: Routing Question - by dave friend - 09-26-2017, 10:37 AM
|