[eluser]Bl4cKWid0w[/eluser]
I am trying to make a profile form which allows a user to upload a photo. I got the actual upload to work, but now I can't figure out how to get the name of the file. I need the name of the file so I can update the user's database information. I tried using $this->upload->data('file_name') to get it, but it returns a database error saying something about the array in the column name.