**Solved** Quick asp query string question (Full Version)

All Forums >> [Web Development] >> ASP and Database



Message


lovduv -> **Solved** Quick asp query string question (4/17/2007 20:51:49)

I am too tired to see what I am doing wrong with the syntax in this code!?! [&:]


I need to add this query string :

request.querystring("tag")

to replace "JohnDoe" in the code below:

<%=getXML("http://feeds.spot.com/Public/UserTimeFeed.ashx?tag=JohnDoe","totalplayed.xsl")%>






lovduv -> RE: Quick asp query string question (4/17/2007 21:34:40)

I am adding code I have tried to this reply, as I fail over and over......lol

This does not work:

<%=getXML("http://feeds.spot.com/Public/UserTimeFeed.ashx?tag='(request.querystring('tag'))'","totalplayed.xsl")%>

This does not work:

<%=getXML('http://feeds.spot.com/Public/UserTimeFeed.ashx?tag="(request.querystring('tag'))"',"totalplayed.xsl")%>

Not this eithier...accckk...lol:

<%=getXML('http://feeds.spot.com/Public/UserTimeFeed.ashx?tag='request.querystring('tag')'","totalplayed.xsl")%>




BeTheBall -> RE: Quick asp query string question (4/17/2007 21:59:40)

Don't know anything about your function, but perhaps this?

<%=getXML("http://feeds.spot.com/Public/UserTimeFeed.ashx?tag="&request.querystring("tag"),"totalplayed.xsl")%>




lovduv -> RE: Quick asp query string question (4/18/2007 0:05:50)

That didn't work...

The function is pulling an xml feed, there are several different feeds that end with the tag parameter value, which I am pulling from my db.....

Maybe I need to put it in my function?




lovduv -> RE: Quick asp query string question (4/18/2007 4:26:22)

Never mind...never mind.......that did work BeTheBall!

Human error on my part! [:o]

Correct Code:
<%=getXML('http://feeds.spot.com/Public/UserTimeFeed.ashx?tag="&request.querystring("tag"),"totalplayed.xsl")%>




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.0625