Skip to content

Instantly share code, notes, and snippets.

@llimllib
Created October 31, 2008 02:53
Show Gist options
  • Save llimllib/21206 to your computer and use it in GitHub Desktop.
Save llimllib/21206 to your computer and use it in GitHub Desktop.
function my_input($data)
{
$CI =& get_instance();
$val = $CI->db_session->flashdata($data['name']);
//print_r($CI->db_session->userdata());
if ($val) $data['value'] = $val;
return form_input($data);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment