If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Include file Q

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-09-05, 15:09
Sortarius Sortarius is offline
Registered User
 
Join Date: Feb 2005
Posts: 3
Include file Q

I know the standard code for including a file:
<!--#include file="PageTitle.asp" -->

What I want to know is how I can write this as an If statement. Example:
If (Variable = Result) Then
<!--#include file="PageTitle.asp" -->
End If

Obviously this code doesnt work. What would be a workable version?
Reply With Quote
  #2 (permalink)  
Old 02-09-05, 15:57
DMWCincy DMWCincy is offline
Registered User
 
Join Date: May 2004
Posts: 125
Here is an article that can explain it to you:

http://www.4guysfromrolla.com/webtech/022504-1.shtml

HTH
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On