Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Include a file which includes another file

Status
Not open for further replies.

stranger123

Programmer
Apr 16, 2006
76
GB
Hi,

I have file.asp in folder a, inc1.inc and inc2.inc in folder b. in file.asp, I need to include inc1.inc and in inc1.inc I need to include inc2.inc.
In file.asp, I can write <!--#include file="b\inc1.inc"--> but I am not sure what I should write in inc1.inc:
<!--#include file="b\inc2.inc"--> or
<!--#include file="inc2.inc"-->

Thank you in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top