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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Variable from Included file...

Status
Not open for further replies.

requested89

IS-IT--Management
Sep 6, 2005
44
GB
Is it possible to use a variable from an include file A on the page mainPage.asp or within include file B on the same including page?

I have one include with a load of variables and I need to use these values in another include. Both includes are included on the same page.

Thanks in advance,

Chris
 
Just make sure the variables are declared globally, not within a sub or function otherwise you will not see those variables in the other include.

Paranoid? ME?? WHO WANTS TO KNOW????
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top