Request.Querystring

P

paul chambers

hello. In the the below code, I want to change " here " with a file pulled
via a Querystring.

For example, if http://localhost/page.asp?=data.xml is the url I want " here
" replace with data.xml.

I know I will probably be duh when I get the anwser, but I don't how to
replace " here " with just data.xml after the ?=



Thank you,
Paul



<xml src=" here " id="xmldso" async="false"></xml>

<br />Title:
<span datasrc="#xmldso" datafld="title"></span>
<br />Artist:
<span datasrc="#xmldso" datafld="para1"></span>
<br />Year:
<span datasrc="#xmldso" datafld="county"></span>
 
P

paul chambers

Forgive me folks. This stroke I had has been hard on me. Getting back my
senses though.

For any one who wants to know the answer, it is just <%=
Request.QueryString("page") %> and url should be
http://localhost/page.asp?page=data.xml.

Sorry to waste anyone's time.

So here it goes...DUH.. Funny thing is I search for hours for the answer and
It just popped out at me.
Paul
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top