• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Image not update(in database image update blank value)

#2
[eluser]louisl[/eluser]
Try getting the filename from upload->data()

Code:
if (!$this->upload->do_upload('userfile') ) {
    
//print_r($this->upload->display_errors());

} else {
    
$upload_data = $this->upload->data();
    
$this->venue_chair_model->update_chair($upload_data['file_name']);
  
}


Messages In This Thread
Image not update(in database image update blank value) - by El Forum - 02-29-2012, 03:04 AM
Image not update(in database image update blank value) - by El Forum - 02-29-2012, 03:33 AM
Image not update(in database image update blank value) - by El Forum - 02-29-2012, 03:59 AM
Image not update(in database image update blank value) - by El Forum - 02-29-2012, 05:21 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.