#include in ASP

They have: 3 posts

Joined: Feb 2000

I read in the microsoft documentation that you can
use the #INCLUDE directive to integrate in a pagse
HTML or ASP code from another page.

i tried to use it like that
<!- #INCLUDE FILE="HEADER.INC" ->
where header.inc is a file in the same directory.

but it gives no result. when i look to the source
of the page i see : <!- #INCLUDE FILE="HEADER.INC" ->
the content of header.inc has not been integrated
to my file.

can somone help me ?
thanks

They have: 76 posts

Joined: Apr 1999

trom,

Try <!-- #INCLUDE FILE="HEADER.INC" -->

You were missing a couple "-"

PJ

They have: 3 posts

Joined: Feb 2000

ok ok
it's right two "-" was needed !

there was a mistake in visual interdev book
Thks for ur help

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.