ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old April 4th, 2003, 05:11 PM
Darrel Darrel is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: UK
Posts: 2 Darrel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Hyperlink variable

I am using a database result in an hyperlink to take me to the next page. Q. How do I then use that variable. Do I make it into a session variable on the first page, if so How. Oer do I do it on the second page, if so how and then how do I use it
my hyperrlink = Cart.asp?VideoID=<%=FP_FieldURL(fp_rs,"VideoID")%>
This is for a uni project that must be handed in by next Tuesday Therfore URGENT i'm stuck and this is my last problem
HELP ME PLEASE

Postr or email me on URL

Reply With Quote
  #2  
Old April 5th, 2003, 04:17 AM
fakker fakker is offline
The calm b4 the storm
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: Manchester, UK
Posts: 404 fakker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via Yahoo to fakker
Hey Darrel,

Welcome to the Devarticles forums! .....

.. if you have a variable in a hyperlink.. something like:

Code:
cart.asp?videoID=34


you can then access this by using some ASP code like this:

Code:

the_videoID = request.QueryString("videoID")


The variable "the_videoID" will then be populated with what ever is in the URL string, in this case, the VideoID. So basically you use request.querystring("variablename") to access the relevant variable in the URL.

Hope that helps some!

ps.. what Uni are you at?
__________________
Matt 'Fakker' Facer

mattfacer.com

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingASP Development > Hyperlink variable


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT