# ASP Need to put some db info into a link

**URL:** <https://forum.kirupa.com/t/asp-need-to-put-some-db-info-into-a-link/143774>\
**Category:** Uncategorized\
**Created:** [April 8, 2005, 2:34pm UTC](https://forum.kirupa.com/t/asp-need-to-put-some-db-info-into-a-link/143774 "2005-04-08T14:34:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![imported\_FlashFish](https://avatars.discourse-cdn.com/v4/letter/i/c57346/32.png) [@imported\_FlashFish](https://forum.kirupa.com/u/imported_FlashFish)\
**Post date:** [April 8, 2005, 2:34pm UTC](https://forum.kirupa.com/t/asp-need-to-put-some-db-info-into-a-link/143774/1 "2005-04-08T14:34:53Z")

</div>

OK, ultimately I need to create a link that says getbook.asp?id=3 . The id is pulled from a database and therefore the number could be anything. (If i’m correct, that link should then open getbook.asp and it can use id=3 to identify an entry in the database.) I’m close, I can pull out the id number and simply response.write it. What I can’t do is create that getbook.asp?id=3 link. Thanks for any help.

_Edited because I am an idiot._
