I can\'t get my images to upload no matter what i do. Below is the code that is in my model:
function do_upload()
{
$config[\'upload_path\'] = \'./uploads/\'
Did something similar with a project - basically you just need to turn the path into a string and write it to your db...
$fileup = $this->upload->data();
$myfilepath = $fileup['file_name'];
$databack = array(
'your_field'=> 'http://www.yourserver.com/location/'.$myfilepath.'',
);
$DB->where('your_id_field', $id_value);
$DB->update('your_table', $databack);
The trickiest bit is just tying it to your database!