Welcome Guest, Not a member yet? Register   Sign In
About class upload and multiple image input
#1

[eluser]Rubiz'[/eluser]
Hi all!!

I have a form that is working ok, I'm working with fields in format of arrays just like "work[]", and "images[]" for example.

My question is about using the upload class with this kind of array field.
I'm trying to do this:
Code:
$field_name = 'userfile[' . $i . ']';                    
if ( ! $this->upload->do_upload($field_name))
...
in a for looping, but its not working...

I'll have to name "userfile1", "userfile2", "userfile3" the inputs?
Sad


Messages In This Thread
About class upload and multiple image input - by El Forum - 01-12-2009, 09:02 AM
About class upload and multiple image input - by El Forum - 01-12-2009, 11:48 AM
About class upload and multiple image input - by El Forum - 01-12-2009, 01:37 PM



Theme © iAndrew 2016 - Forum software by © MyBB