> Every time I run this code I get an error saying : > > CFHTTP > Incorrect number of columns in row. > > <CFHTTP > URL="https://webapp/PayMe/L3/Receipt/pgReceiptVerification?mercha > nt_id=#session.merchant_id#&PayMe_Transaction_Id=#session.PayM > e_Transac > tion_Id#&Request_Type=RECIEPT" > METHOD="GET" > PORT="443" > NAME="MyTransaction" > RESOLVEURL="false" > THROWONERROR="yes" > COLUMNS="Merchant_Id, PayMe_Transaction_id, Request_Type, > Transaction_Sta > tus"> > > <CFHTTPPARAM TYPE="URL" NAME="Merchant_Id" VALUE=#url.Merchant_Id#> > <CFHTTPPARAM TYPE="URL" NAME="PayMe_Transaction_id" VALUE=#url.PayMe_ > Transaction_Id#> > <CFHTTPPARAM TYPE="URL" NAME="Request_Type" VALUE="RECEIPT"> > > </CFHTTP>
That's because you're giving your CFHTTP tag a NAME attribute. When you do this, CFHTTP expects to retrieve a text file formatted a certain way, such as comma-delimited text. If the file is formatted properly, it would create a query object that you could then reference like this: <cfoutput query="MyTransaction"> > Do I need the CFHTTPPARAM's here? (I'm not familiar with them either, > obviously)... Can anyone see anything wrong with the above code? No, you don't need them. I'm surprised they don't cause an error. It was my understanding that, in prior versions of CF at least, you couldn't use CFHTTPPARAM without using METHOD="POST" in your CFHTTP tag. I could be wrong about that in CF 5, though. In any case, you don't need them here because you're embedding the data in the URL attribute of your CFHTTP tag. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ______________________________________________________________________ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

