retrieving post data problem

good day evry1!

I need help

its that, I have a controller function named 'get_data' -this is where I get 'post' data
and then I redirect to another controller function named 'load_panel' but when I try to get 'post' data on this function it returns NULL

I use redirect() instead of calling $this->load_panel() because I have to change the url segment- i've done it on purpose

I just want to know on how to get 'post' data on 'load_panel'
please help me, thankz in advance

When you do the redirect, you are no longer posting data so all of your form data is lost. One way to do this would be to store your posted data in a database or in a session and then access it on the new page. Another option is to process your posted data before you do the redirect. The third is to re-evaluate why you are doing the redirect in the first place :-)

thankz for the reply, i try it and yes it works

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.