<cfif structKeyExists(FORM,"counter")> <cfparam name="FORM.counter" default="0"> <cfloop index="j" from="1" to="#form.counter#" step="1"> <cfif structKeyExists(FORM,"fileUp"&j)> <cffile action="upload" destination="#ab_path#\attachments" nameconflict="makeunique" filefield="form.fileUp#j#"> <cfquery datasource="remittance"> insert into jFiles(jTopicID,jDateSaved,jClientFile, jServerFile, jServerDirectory, jContentType, jContentSubType) values(#getTopicID.jTopicID#,getdate(),'#cffile.clientFile#','#cffile.serverFile#','#cffile.serverDirectory#','#cffile.contentType#', '#cffile.contentSubType#') </cfquery> </cfif> </cfloop> </cfif>
When I use Internet Explorer, it works perfectly. The problem is in Firefox, I can only upload the first file. The rest of the files are not uploaded nor saved in the database. Why is it not working in Firefox? Am I missing something? Thanks for the help.

New Topic/Question
Reply




MultiQuote




|