Why is not working?
Thanks.

<cffunction
name="InsertRow"
hint="Insert a row in the table"
access="remote" returnType="query" >
<cfargument name="login" type="string" required="true">
<cfargument name="pass" type="string" required="true">
<cfargument name="tableName" type="string" required="true">
<cfargument name="arrayfieldnames" type="array" required="true">
<cfargument name="arrayfieldvalues" type="array" required="true">
<cfquery name="InsertRow" datasource="intiridesigns_db"
username=#login# password=#pass#>
INSERT INTO #tableName# (<cfloop from="1"
to="#arraylen(arrayfieldnames)#" index="a">#arrayfieldnames[a]#<CFIf a
NEQ arraylen(arrayfieldnames)>,</CFIf></cfloop>) VALUES (<cfloop
from="1" to="#arraylen(arrayfieldvalues)#"
index="a">'#arrayfieldvalues[a]#'<CFIf a NEQ
arraylen(arrayfieldvalues)>,</CFIf></cfloop>)
</cfquery>
<cfreturn InsertRow>
</cffunction>