File array and inserting into mysql

Hi all,

Need a little help with php and mysql. Basically I have a form that has multiple fields for uploading files. I’ve put them in array like so:


<input type="file" name="myFile[]" />

Now, the problem I’m having is how to approach the upload. Because I need to insert the file into the database and make sure they each have their own row.

Do I loop through the query? I’m just worried about server ‘stress’. If you have any tips or know of any tutorials I’d really appreciate it.

Thanks