In below code,I want to save only the name in DB. But How do i get name only from below array. Please suggest me a solution to get a name
Array
(
[0] => Array
(
[name] => boy_1_6.jpg
[type] => image/jpeg
[tmp_name] => /tmp/phpti6eaW
[error] => 0
[size] => 33454
[file] => boy_1_6.jpg
[url] => http://localhost/magento220/pub/media//boy_1_6.jpg
[previewType] => image
)
)