[eluser]dimasVS[/eluser]
[quote author="Derek Allard" date="1266262377"]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);
[/quote]
Thanks Derek,,
it really help me...
Now I could get the $file_name value and successfully inserted..
hmm,, once more.. :-)
how if it's not only $file_name...
for example I wanna throw the values of $file_name, $file_type, $username ???
and how to get the value of each variable in models...
Now, I usually create session first...