$this->upload->data() problem |
[eluser]Mitja[/eluser]
I want to use $pluspayment_uploads['orig_name'][$i] but i have problem becouse CI function $this->upload->data() does not recognize multiple photos. I get error like Message: Uninitialized string offset: 0 and 1 Filename: controllers/admin.php this line: 'title_photo' => $pluspayment_uploads['orig_name'][$i] Code: if($_FILES['pluspayment_title_photo']['name'][$i] != '') any idea how to fix that?
[eluser]Mitja[/eluser]
i also get error Quote:A PHP Error was encountered becouse i have the name of array <tr><td>Fotka: <input type="file" name="pluspayment_title_photo[]" /></tr> and $this->upload->do_upload('pluspayment_title_photo') can not except array. How can i upload multiple file in array? PLEASE
[eluser]Randy Casburn[/eluser]
Mitja -- I type "multiple file upload" in the forum search bar at the top right of this page and it returned pages and pages of helpful results. Here is a post that you may find most useful: http://ellislab.com/forums/viewthread/80610/ If not, please try that search yourself. You may find that searching the forums really does yield some great answers. Randy |
Welcome Guest, Not a member yet? Register Sign In |