Welcome Guest, Not a member yet? Register   Sign In
Is there a faster way to get multiple POST data than $this->input->post('data')?
#3

[eluser]rogierb[/eluser]
Why not loop through $_POST and do a $this->input->post(‘fieldname’) on each element, then put that in a new sanitized array

Code:
foreach ($_POST as $key=>$val)
{
  $sanitized[$key] = $this->input->post($key)
}

Edit: To late!


Messages In This Thread
Is there a faster way to get multiple POST data than $this->input->post('data')? - by El Forum - 10-27-2009, 05:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB