Skip to content

Instantly share code, notes, and snippets.

@Ikke
Created April 8, 2010 12:29
Show Gist options
  • Save Ikke/360031 to your computer and use it in GitHub Desktop.
Save Ikke/360031 to your computer and use it in GitHub Desktop.
foreach($this->input->post() as $value=>$field_name)
{
$this->$field_name = $value
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment