redirect() |
[eluser]NateL[/eluser]
Is it possible to pass a variable with the redirect function? I have a function in my admin conroller called "insert()", which connects to a model and inserts the POST data. Is it possible to generate a message variable and pass that in with the redirect? for instance: Code: $message = "Your message was successfully entered!"; and in my view: Code: if (isset($message){ Or am I going about this the wrong way? Thanks
[eluser]The Wizard[/eluser]
hello, why not try this? http://ellislab.com/codeigniter/user-gui...sions.html nice signature btw
[eluser]NateL[/eluser]
[quote author="herrkaleun" date="1233613759"]hello, why not try this? http://ellislab.com/codeigniter/user-gui...sions.html[/quote] oh yeah! Flashdata %-P Quote:nice signature btwThanks Anyone is free to steal it and use it as they wish :cheese: |
Welcome Guest, Not a member yet? Register Sign In |