[eluser]Chilukuri Bhaskar[/eluser]
<?php
following condition not checking properly
if($this->upload->do_upload())
{
echo 'working';exit;
$data = array('upload_data' => $this->upload->data());
$this->load->model('artist_model');
$uploadedData = $this->upload->data();
$FileName = $uploadedData['file_name'];
$this->artist_model->addBiography($FileName);
$this->load->view('addBiography',$data);
}
?>