C
C
Cyber_bober2016-05-24 22:12:52
CodeIgniter
Cyber_bober, 2016-05-24 22:12:52

How to get the name of the second file?

Hello, I want to implement loading multiple images from different fields. This is how it loads

$uploaded	= $this->upload->do_upload('image');
$uploaded2	= $this->upload->do_upload('image2');

This way I get an array and pass the filename to a variable
$image = $this->upload->data();
$save['file']	= $image['file_name'];

only this array collects information about the first file, how to access the second file?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
#
#algooptimize #bottize, 2016-05-24
@user004

return a dictionary or array of pictures, not a single picture

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question