Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing data through pages 1

Status
Not open for further replies.

maanton

Programmer
Mar 27, 2005
52
0
0
Hi all!
My line of code is
Code:
<a href="country_info.asp?ID=<%=(desc.Fields.Item("country_info_id").Value)%>">LINK</a>

Apart from that, I need to pass some other data to be available on the next page as well.
How is that possible?

Thanks in advance
 
if you want to pass multiple values...this is how you do it...


Code:
<a href="country_info.asp?ID=<%=(desc.Fields.Item("country_info_id").Value)%>[red]&someval=<%=desc.Fields.Item("someotherfield")%>&someother==<%=somevariable%>[/red]">LINK</a>

as you can see the code in red...you can add as many as you want...just use the & symbol...

-DNG
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top