Results 1 to 3 of 3

Thread: <!-- #include problem

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2001
    Posts
    60

    <!-- #include problem

    i want to call an asp file inside an html file.
    But it doesnt work.
    The code i have written is
    <!-- #include file=abc.asp?val=1234 -->
    the code works fine when defined in asp.

  2. #2
    Addicted Member
    Join Date
    Jul 2002
    Location
    Brussels, Belgium
    Posts
    139
    I don't know what you try to do, but it's quite normal that this doesn't work.

    It's a server-side directive, not html, so you ll need to put it in an asp page.

    It's also impossible to include an asp page with a url parameter.

  3. #3
    <?="Moderator"?> john tindell's Avatar
    Join Date
    Jan 2002
    Location
    Brighton, UK
    Posts
    1,099
    if its in an ASP page try this.

    server.execute("Page.asp?field=value")

Posting Permissions

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



Click Here to Expand Forum to Full Width