General discussion

  • Creator
    Topic
  • #2072753

    ASP – variable in an include

    Locked

    by kirkk ·

    Is it possible to have a dynamic variable in an include statement? If so, how?

    This is the concept:

    <% includefile = "content.asp" %>

All Comments

  • Author
    Replies
    • #3768643

      ASP – variable in an include

      by fofa ·

      In reply to ASP – variable in an include

      I don’t think you can do that, but have you tried putting the includes inside an if/select statement to see if that will limit them?

      • #3768617

        ASP – variable in an include

        by kirkk ·

        In reply to ASP – variable in an include

        Yes, I now am using a select statement to choose which include to use. I think you’ve confirmed this is the best way to go.
        Thanks

Viewing 0 reply threads