|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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? |
![]() |
| Viewing: Dev Articles Community Forums > Programming > ASP Development > Hyperlink variable |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|