Welcome Guest, Not a member yet? Register   Sign In
how to handle multiple controller by single controller
#4

[eluser]PhilTem[/eluser]
It seems like you're using the redirect function incorrectly.

Change the line you marked with //here is my issue to

Code:
redirect('customer');

to redirect to www.example.com/index.php/customer.

Please elaborate what the second argument current_url() was supposed to be there for (as well as why you wanted to use a second argument).


Messages In This Thread
how to handle multiple controller by single controller - by El Forum - 09-12-2012, 08:20 AM
how to handle multiple controller by single controller - by El Forum - 09-12-2012, 08:52 AM
how to handle multiple controller by single controller - by El Forum - 09-12-2012, 08:58 AM
how to handle multiple controller by single controller - by El Forum - 09-12-2012, 10:00 AM
how to handle multiple controller by single controller - by El Forum - 09-12-2012, 10:15 PM
how to handle multiple controller by single controller - by El Forum - 09-12-2012, 10:45 PM
how to handle multiple controller by single controller - by El Forum - 09-12-2012, 11:19 PM



Theme © iAndrew 2016 - Forum software by © MyBB