[eluser]dimasVS[/eluser]
[quote author="ciGR" date="1266262210"]Have you create the model?
In model you must have create the appropriate functions.
For example,
Code:
class Model_name extends Model {
function __construct()
{
parent::Model();
}
function save_image($image_name = '')
{
$this->db->insert('your_table_name',Array('image'=>$image_name));
}
}
and in your controller after successful image upload you must load the model and call the function with the image name like the argument
Code:
$this->load->model('Model_name');
$this->Model_name->save_image($file_name);
[/quote]
Ok,, :-)
I got the value and successfully inserted to database...