[asking] Making Multidimensional array upload - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: [asking] Making Multidimensional array upload (/showthread.php?tid=25543) |
[asking] Making Multidimensional array upload - El Forum - 12-15-2009 [eluser]fsw[/eluser] I have a form like this: Code: <tbody> I'm using http://www.mitesdesign.com/blog/open-source/multi-upload-jquery-code-igniter for each of the file upload, so each one of them have multiple upload capabilities and there are 7 of them. The question is how to make it upload multidimensonaly... thx before [asking] Making Multidimensional array upload - El Forum - 12-16-2009 [eluser]Ben Edmunds[/eluser] Why not use the multi file upload library in that article? [asking] Making Multidimensional array upload - El Forum - 12-16-2009 [eluser]fsw[/eluser] I can use the multi upload from that library, but what i want is every upload that happen have it's own unique id, so it's like: id 1 -> have multiupload id 2 -> have multiupload id 3 -> have multiupload id 4 -> have multiupload and so on.... If i'm not mistaking, that's a multidemensional array right? and the library doesnt accept multidemensonal array, well i'll look for another way around, until someone has a good idea how to make this work, or maybe it's just me being stupid LOL. Thx for the fast reply though. [asking] Making Multidimensional array upload - El Forum - 12-16-2009 [eluser]Ben Edmunds[/eluser] You can just loop through the array and upload each file. Maybe I don't understand the problem but you should simply be able to do a foreach on each upload and do one upload per file. [asking] Making Multidimensional array upload - El Forum - 12-17-2009 [eluser]fsw[/eluser] I use uploadify instead with tab to seperate it, fiuh.... it's done now. |