Welcome Guest, Not a member yet? Register   Sign In
validation file upload
#1

How to pass upload file with "array"?
no value returned.

PHP Code:
// In the HTML
<input type="file" name="file[image][]">

// In the controller
$this->validate([
    
'file.image.*' => 'uploaded[file.image]',
]); 
Reply
#2

no one can help?
Reply
#3

Read https://codeigniter.com/user_guide/libra...files.html
Reply




Theme © iAndrew 2016 - Forum software by © MyBB