Solved

use a query string in an include

Posted on 2003-12-10
3
270 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

There are two main kinds of selectors in CSS: One is base selector like h1, h2, body, table or any existing HTML tags.  For instance, the following rule sets all paragraphs (<p> elements) to red: (CODE) CSS also allows us to define our own custom …
I will show you how to create a ASP.NET Captcha control without using any HTTP HANDELRS or what so ever. you can easily plug it into your web pages. For Example a = 2 + 3 (where 2 and 3 are 2 random numbers) Session("Answer") = 5 then we…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

919 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now