Welcome Guest, Not a member yet? Register   Sign In
Redirect to controller specific function w/parameters
#2

[eluser]mddd[/eluser]
The redirect() function takes other arguments: after the location you can specify the method and the http status code. So, yes your first example is correct. The url must be in the first argument completely.

I can understand that you'd like to keep things as separate as possible. But on the other hand it is more of a visual difference than anything else right?


Messages In This Thread
Redirect to controller specific function w/parameters - by El Forum - 05-30-2010, 01:58 PM
Redirect to controller specific function w/parameters - by El Forum - 05-31-2010, 01:15 AM
Redirect to controller specific function w/parameters - by El Forum - 05-31-2010, 08:50 AM
Redirect to controller specific function w/parameters - by El Forum - 05-31-2010, 09:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB