Welcome Guest, Not a member yet? Register   Sign In
this->input() as array?
#3

[eluser]A.M.F[/eluser]
[quote author="Michael Wales" date="1197338188"]
Code:
$this->session->set_userdata(array('answer1'=>$this->input->post('answer1'), 'answer2'=>$this->input->post('answer2')));
[/quote]

isn't there a way just to put one name of an array like this:
Code:
$this->session->set_userdata($_POST)
i don't want to do it like this cuz it's not safe enough


Messages In This Thread
this->input() as array? - by El Forum - 12-10-2007, 01:43 PM
this->input() as array? - by El Forum - 12-10-2007, 01:56 PM
this->input() as array? - by El Forum - 12-10-2007, 02:02 PM
this->input() as array? - by El Forum - 12-11-2007, 11:09 AM
this->input() as array? - by El Forum - 12-11-2007, 11:53 AM
this->input() as array? - by El Forum - 12-11-2007, 01:33 PM



Theme © iAndrew 2016 - Forum software by © MyBB