Adding value to text links for ASP process
I have a database , and i have constructed a simple A-Z table with text in them , what i want to do is be able to click on 'A' for instance and sent the value 'A' as a URL prarameter so that my result page will know that the search criteria is 'A' , this is useful as i will not have to construct 26 different result page if they click on 'B' for instance .
How do i go about this
any help would be appreciated
thx in advance
Jack Michaelson posted this at 14:12 — 24th March 2003.
He has: 1,733 posts
Joined: Dec 1999
Do you mean something like:
<a href="YourPage.html?result=A">A</a>
<a href="YourPage.html?result=B">B</a>
<a href="YourPage.html?result=C">C</a>
Hope this helps you out,
Shakespeare: onclick || !(onclick)
forwardtrends posted this at 14:54 — 24th March 2003.
He has: 52 posts
Joined: Feb 2003
dim query
query=request.querystring("result")
Select * from database where yourcolumnheader = '$result'
starter posted this at 16:33 — 24th March 2003.
They have: 80 posts
Joined: Feb 2003
thx Jack , brilliant ... exactly what i was trying to do , lol , i just spent hour and a half creating 26 results page and now feel like a lemon , still .. at least its now corrected
starter posted this at 18:27 — 24th March 2003.
They have: 80 posts
Joined: Feb 2003
thx forward , thx 4 reminding me about the columnheader , lol , i was stuck just now and read ur post and rearlise what i had done , cheerze
Jack Michaelson posted this at 15:37 — 25th March 2003.
He has: 1,733 posts
Joined: Dec 1999
You're welcome
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.