Hi Judy,
AFAIK, ASP doesn't have like that of the PHP function. There is also another way of doing this, may be the recent work around.
I had posted this already in a discussion on other topic in the same forum. I have tested this too, and found no problem in it. You can take a look at it though you problem is sorted out.
How to Implement Conditional Includes in ASP using VBScript - was posted in that site on 2nd Feb 2004.
You may want to read that post.
How to use "#include file in if..then statment?
Hope that helps.
Cheers!
PS: Though it works fine with "SELECT CASE...", I still wonder, how could the include thing not work as expected with IF... ELSE... construct, but work with SELECT CASE...


IMO, both look almost similar in functionality, but one fails and other seems to be the workaround. Got to research.:)
_________________________
-Vijay G

Strive for Perfection
