![]() |
Uploading multiple files per field and storing in a db with codeigniter - 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: Uploading multiple files per field and storing in a db with codeigniter (/showthread.php?tid=33113) |
Uploading multiple files per field and storing in a db with codeigniter - El Forum - 08-16-2010 [eluser]design_shuffle[/eluser] Hi, I have a form which uploads multiple file fields into a db using codeigniter. I need to be able to upload multiple files for each field. I understand that this could be achieved using some Jquery magic, however, my problem is how do I intercept the multiple files and what is the best way to store them in my database? At the minute I just have one field which stores the file location/name, would I need to insert all the files as one long comma seperated string? If so, how do I then make use of that string for my view functions to show each file? Sorry if the above doesn't make sense, I can explain in more detail or post my code if required. Thanks for any help in advance Dan |