navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

**Solved** Quick asp query string question

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> **Solved** Quick asp query string question
Page: [1]
 
lovduv

 

Posts: 152
Joined: 8/30/2005
Status: offline

 
**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")%>




< Message edited by lovduv -- 4/18/2007 4:27:49 >
lovduv

 

Posts: 152
Joined: 8/30/2005
Status: offline

 
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")%>

(in reply to lovduv)
BeTheBall

 

Posts: 6381
Joined: 6/21/2002
From: West Point Utah USA
Status: offline

 
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")%>

_____________________________

Duane

Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.

(in reply to lovduv)
lovduv

 

Posts: 152
Joined: 8/30/2005
Status: offline

 
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?

(in reply to BeTheBall)
lovduv

 

Posts: 152
Joined: 8/30/2005
Status: offline

 
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! :)

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

(in reply to lovduv)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> **Solved** Quick asp query string question
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts