Welcome Guest, Not a member yet? Register   Sign In
Multiple file upload error
#2

[eluser]LuckyFella73[/eluser]
Don't you need to set up the arrays when using the form helpers?
like:
Code:
$data_file_1 = array(
   'name' => 'userfile_1',
   'id' => 'userfile_1',
   'size' => '50',
   'style' => 'width:50%',
);
$data_file_2 = array(
   'name' => 'userfile_2',
   'id' => 'userfile_2',
   'size' => '50',
   'style' => 'width:50%',
);
echo form_input($data_file_1);
echo form_input($data_file_2);
and so on ?

As far as i know, the usage of
Code:
myimages[]
Is just a shortcut of
Code:
push_array($destination_array, $new_data)

for example
Code:
$myimages[] = 'data_to_push_into_array_myimages';

But maybe I'm wrong and just are not familiar with the coding style you used!

I don't know how your view file looks in detail so it's hard to say
what could be missing ..


Messages In This Thread
Multiple file upload error - by El Forum - 09-02-2008, 01:36 PM
Multiple file upload error - by El Forum - 09-03-2008, 07:25 AM
Multiple file upload error - by El Forum - 09-03-2008, 11:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB