Bad matty... Naughty Matty!!

<cfif isdefined("form.fieldnames")>
   <cfloop collection="#form.fieldnames#" index="this">
      <cfoutput>#thisfield# = #form[this]#</cfoutput>
   </cfloop>
</cfif>

Evaluate isn't required in most cases in CF5 and CFMX

Stephen

Matt Horn wrote:

I dont know about URLs but with forms


<cfif isdefined("form.fieldnames")>
    <cfloop collection="#form.fieldnames#" index="this">
         #this#= #evaluate(this)#

    </cfloop>
</cfif>

Matt

----- Original Message ----- From: "Ellwood" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 21, 2003 10:35 AM
Subject: [ cf-dev ] URL parameters




Guys,

Please help my brain to function today. I know url and form parameters are
passed across in a structure but how do I easily loop through that and tag
it on to the end of a new link for paging functions to work properly?






--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]



Reply via email to