Solved

use a query string in an include

Posted on 2003-12-10
3
271 Views
Last Modified: 2013-11-18
Dim Page      :       Page  = Request.QueryString("Page")


<!-- #INCLUDE FILE="../asp/<%=Page%>.asp" -->

i did a response.write and my Page have the right value in it but im not sure whats happening in the include i get the error

the file '../asp/<%=Page%>.asp' cannot be found
0
Comment
Question by:-Shadow-
  • 2
3 Comments
 
LVL 24

Accepted Solution

by:
shivsa earned 125 total points
ID: 9918064
Include files will be processed before any ASP code.  So you cannot do that.
0
 
LVL 24

Expert Comment

by:shivsa
ID: 9918076
This has been asked many times.
check this post too.
http://www.experts-exchange.com/Web/Web_Languages/ASP/Q_20205347.html
0
 

Author Comment

by:-Shadow-
ID: 9918116
dsf;lkf

i read the post ... =( that i real bad news

i will explain what i want to doand maybe u will get soem idea on how to do it

i am using a menu and i want the link from the menu to be listed in feil 4 of my table without using tables so what i wanted to so it link adress from menu and add ?page= this so on the load of my page it shout the right page to my feil 4

1111111
2222222
3344444
3344444
3344444
3344444


any idea on how to do this my feild 4 will be big asp pages with tons of stuff
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It's sometimes a bit tricky to use date functions in Oracle BPEL. I'll explain quickly how you can add N days to the current date. In a BPEL process this can be useful, and you can adapt it to fit your needs. First of all, let's see how to add 1 …
What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question