how to upload image and store in database in codeigniter code example
Example: how to add the image and video upload in codeigniter
$field_name = "some_field_name";
$this->upload->do_upload($field_name);
$field_name = "some_field_name";
$this->upload->do_upload($field_name);