Solved

use a query string in an include

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
The viewer will learn how to count occurrences of each item in an array.
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.

760 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

23 Experts available now in Live!

Get 1:1 Help Now