$this->load->library('upload');
//Configure upload.
$this->upload->initialize(array(
"upload_path" => './public/uploads/album/',
"allowed_types" => 'mp3',
"max_size" => '2194304000',
"overwrite" => 'FALSE'
));
//Perform upload.
if($this->upload->do_multi_upload("files")) {
$arr = array(
'fx_title' => ?????,
'alb_id' => $id,
'user_id' => $user_id
);
$this->db->insert('nmp3_faixas', $arr);
}
What would be the code that would return the names of the uploaded files, and write to the database? I'm using the class link