Since this page still shows up in search results... 

<cffunction name="queryToArrays" access="public" returntype="struct" 
output="false" hint="">
    <cfargument name="q" default="" required="TRUE" type="query" />
    <cfscript>
        var ret = {};
        for (col in ARGUMENTS.q.ColumnList){
            ret[col] = listToArray(arrayToList(q[col]));
        }
    </cfscript>
    <cfreturn ret />
</cffunction> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355278
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to