No you do not need a head/body tags, but then again it really depends on
what the included file does.

Example: this is an index.cfm file

INDEX.CFM
------------------------------------------
<cfinclude template="header.cfm">
This is the index.cfm<BR>
<cfinclude template="test.cfm">

HEADER.CFM
------------------------------------------
<HTML><HEAD><TITLE></TITLE></HEAD><BODY>
This is the header.cfm
</BODY></HTML>


TEST.CFM
------------------------------------------
This is the test.cfm<BR>

You will notice in this case my header.cfm file has the required tags not
the index.cfm or Test.cfm


-----Original Message-----
From: Pete [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 20, 2006 6:08 AM
To: CF-Talk
Subject: Including a file

Hi All

Just a really quick question - if I have a main program and I include
another file should I have the head and body tags in the included program ?

Thanks in advance for replies.

P





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:257562
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to