Retrieving ONLY the file name from $this->upload->data() - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Retrieving ONLY the file name from $this->upload->data() (/showthread.php?tid=20630) |
Retrieving ONLY the file name from $this->upload->data() - El Forum - 07-16-2009 [eluser]SteveBluck[/eluser] Hi, So baiscally I just want to retrieve the file name from the array of data it stores. I was thinking I could maybe do something like. Code: echo $this->upload->data('file_name'); Thank you for your help. Retrieving ONLY the file name from $this->upload->data() - El Forum - 07-16-2009 [eluser]SteveBluck[/eluser] omg I'm retarded. I need sleep, I just realised what I was trying to do and it is simple. Code: $data = $this->upload->data(); I'm so stupid. good night! Retrieving ONLY the file name from $this->upload->data() - El Forum - 07-16-2009 [eluser]Hakkam[/eluser] Hehehe.. Congrat for that. Have a nice sleep. |