I have a ColdFusion Template, call "getInfo.cfm", that will query a
database and return a comma delimited list of records.  For example:

1,Abby
2,Jack
3,Suzie

I have another ColdFusion Template, called index.cfm, that makes a call
to the "getInfo.cfm" template with cfhttp to this list.

<cfhttp method="GET" url="http://www.server.edu/getInfo.txt" name="XX"
columns="id,name">
  <cfoutput query="XX">
    (#id# - #name#)
  </cfoutput>
</cfif>

This works fine with getInfo.txt which is a static text file, but not
with getInfo.cfm which is a ColdFusion Template.
I can't figure out what to do next or what other approach to take.

Please Advise.

Troy


--
Troy Simpson | North Carolina State University
NCSU Libraries | Campus Box 7111 | Raleigh | North Carolina
ph.919.515.3855 | fax.919.513.3330


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to