include (file) in ASP

Results 1 to 5 of 5

Thread: include (file) in ASP

  1. #1
    Pepe Guest

    Default include (file) in ASP

    I am new at ASP, can I use an include () statement to call a page/file from another page? In PHP I use <?include ("file.htm");?>

  2. #2
    FSKhan Guest

    Default RE: include (file) in ASP

    Yup u can this is the syntax !<BR>&#060;!--#Include File="Filename"--&#062;<BR><BR>don&#039;t forget to supply the file ext !!

  3. #3
    Pepe Guest

    Default RE: include (file) in ASP

    Thanks, how come that I cannot use &#060;% %&#062; tags instead of &#060;!--<BR><BR>Thank you

  4. #4
    Culture Guest

    Default RE: include (file) in ASP

    Interestingly because is not actually part of the asp.<BR>you have to do<BR>%&#062;&#060;!-- #include file="whatever"&#062; &#060;%<BR> (open and close the asp) <BR><BR>Which i have never really understood the reason for - someone at MS thought that was the way it should work so *shrug*

  5. #5
    Join Date
    Dec 1969

    Default RE: include (file) in ASP

    It is because the file is included b4 the page processed.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts