[eluser]Derek Allard[/eluser]
Right, exactly. So back to your question
Quote:how to send $file_name value to models ???
The exact same way.
Code:
$this->load->model('Model_name');
$img_data = $this->upload->data();
$file_name = $img_data['file_name'];
$this->Model_name->save_image($file_name);