| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi,
I am new to this, so please help me. I have installed news management system on the server, and now i'm trying to include news.asp in my index.asp. News.asp is located in news/news.asp and index.asp is in the main directory. When I use simple include string <!--#include file="news\news.asp"--> , I get message saying: option explicit. I don't know what to do. I went to many websites trying to get some kind of solution to this, but all i get is a frustration. maybe you can help me |
|
#2
|
|||
|
|||
|
Does news.asp include all the standard html and asp header stuff?
For example does it have"option explicit", <html>, <title>, etc.. . If so, take all the stuff out. Just put your code in news.asp. Which can be html code, asp code, whatever. Cheers, Mike |
|
#3
|
|||
|
|||
|
You are using the backslash, you want the forward.
<!--#include file="news\news.asp"--> Change it to: <!--#include file="news/news.asp"--> |
![]() |
| Viewing: ASP Free Forums > Programming > Code Bank > cannot include file |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|