Welcome Guest, Not a member yet? Register   Sign In
Uploading multiple files per field and storing in a db with codeigniter
#1

[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




Theme © iAndrew 2016 - Forum software by © MyBB