You can do this to obtain the different pages that you need. <cfset url.id = '10'> <cfinclude template="start.cfm"> <cfset url.id = '11'> <cfinclude template="start.cfm"> <cfset url.id = '12'> <cfinclude template="start.cfm"> <cfset url.id = '13'> <cfinclude template="start.cfm">
Of course, you would need to make sure that the 'start.cfm' doesn't contain any 'includes' to files that cannot be called more than once on a page. (eg. UDFs). The best way to find out is to try it out and see what happens. As an alternative, you could use 'cfhttp' to capture the information on those pages, however I believe that to be a little 'overkill' for this situation. William -- William E. Seiter Have you ever read a book that changed your life? Go to: www.winninginthemargins.com Enter passkey: goldengrove Web Developer / ColdFusion Programmer http://William.Seiter.com -----Original Message----- From: Nate Barnes [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 19, 2008 10:40 AM To: CF-Newbie Subject: CFINCLUD with variables I have a single page driven by the url stringquery: start.cfm?id=10 start.cfm?id=11 start.cfm?id=12 start.cfm?id=13 I have been asked to create one page with all four of these on it for users to print. I am somewhat familiar with cfinclude so I tried: <cfinclude template="start.cfm?id=10" > It does not work and I believe it is based on the Coldfusion seeing this as the file name rather than the stringquery. Is there a way to use the stringquery with CFinclude or should I be looking at something else (cfmodule)? Thanks, Nate Barnes Falmouth Schools Falmouth, ME ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3323 Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
