[eluser]praveena[/eluser]
HI
I am trying to upload the file path in to the database and trying to move the file into root folder and this is my code
$config['upload_path']='./uploads';
$config['allowed_types']='.xls|xlsx';
$this->load->library('upload',$config);
$this->db->insert('data',$_POST);
$this->load->view('data');
and I was fillowing with this error pls help
A Database Error Occurred
You must use the "set" method to update an entry.
Thanks in Advance