You don't use that for anything other than debugging do you? You'll get all
form fields which you might not want. If it is for debugging what's wrong
with <cfdump var="#FORM#">?

Ade

P.S. anyone know what's up with all those funny advertising links appearing
in the archives at HoF? :OD

-----Original Message-----
From: Andrew Grosset [mailto:[EMAIL PROTECTED]
Sent: 22 April 2005 02:20
To: CF-Talk
Subject: More hash on the mailing list


>Hi guys,
>
>I've got a problem whereby I'm trying to reference my looped variable in an
>SQL statement.
>
>
If I want to check the output of some form variables I output them like so
(notice how the looped variable is referenced: #form[t]):

<cfoutput>
 <cfloop index="t" list="#form.fieldnames#">
    <li>#t#=#form[t]#
 </cfloop>
</cfoutput>

and as Dave Watts said putting the loop inside the query tag is an option,
personally I think that's the best way and is much quicker to.

cheers,

Andrew.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:203923
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to