Welcome Guest, Not a member yet? Register   Sign In
multi file upload need to sync 4_files and $_post values to insert into a database
#1

[eluser]tim1965[/eluser]
Hi


I have a multi file upload script that loops thru the $_files array, renames the file, creates a thumbnail, moves the files to a specific user directory, and then inserts the filenames into a database.
Om my view i want to add a box to allow users to associate some text with the image. But obviously this data will live in the $_post array.
So i need to ensure that i keep these two in sync so that the text is inserted with the correct image.

I am sure theres a relatively easy way to handle this but its stumping me. Maybe i need some more coffee !!

Any pointers in the right direction would be appreciated.




Theme © iAndrew 2016 - Forum software by © MyBB