**SOLVED!**

I`m trying save data from array in variable. I have in controller:

```
$data = array('upload_data' => $this->upload->data());

```

and I know that in this array are data about uploading file. One with this date is `"file_name"`, and I want to save this value in controller at variable. I try with:

```
$image_name= $data['file_name'];

```

But this not working. I use CodeIginter 2.1.3 framework.

**Good solution is: $data['upload\_data']['file\_name'];**
Thanks for help!