I have array output like below,
Array ( [0] => Array ( [file_name] => test.pdf
[file_type] => application/pdf
[file_path] => /Applications/AMPPS/www/testing/uploads/attachments/2/
[1] => Array ( [file_name] => test1.pdf
[file_type] => application/pdf
[file_path] => /Applications/AMPPS/www/testing/uploads/attachments/2/ )
How can i pull a new array like below
Array( [0] => test.pdf [1] => test1.pdf)
Background,
I am doing multiple file upload using Codeigniter, my files are uploading and getting return data array, i want only file names to be send back to my view, so need to pull file names of files which are uploaded,
Any suggestions, hints?
Thanks,