Includes HELP please

Results 1 to 3 of 3

Thread: Includes HELP please

  1. #1
    Nick Eales Guest

    Default Includes HELP please

    How do I get the following code to work. It seems to be taking the asp code literally and is not processing it.<BR><BR>&#060;!--#include virtual="/includes/hosting/&#060;%=Product%&#062;.inc"--&#062;<BR><BR>Thanks!

  2. #2
    KPW Guest

    Default RE: Includes HELP please

    It is not possible to dynamically include files like this. ASP will first grab all of your include files, then go back through and interpret all of your variables. So, when it sees your piece of code, it tries finding the file specified, and when it can&#039t, it throws an error.<BR><BR>Sorry this is such a shoddy explanation -- I understand it better than I can explain it.

  3. #3
    Nick Eales Guest

    Default RE: Includes HELP please

    I guess I&#039ll have to resort to a very very very large if statement. Thanks anyway!

Posting Permissions

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