Referencing Values through HREF

Results 1 to 2 of 2

Thread: Referencing Values through HREF

  1. #1
    Pauly Guest

    Default Referencing Values through HREF

    Does anyone have code or an idea of how to reference a number passed through a href<BR><BR>my code looks like this<BR><BR>&#060;A HREF="somewhere.asp?num=&#060;%numvalue%&#062;"&#0 62;Click&#060;/a&#062;<BR><BR>on somewhere.asp how do i get to that numvalue?<BR><BR>Thanx in advance!

  2. #2
    Ian Stallings Guest

    Default RE: Referencing Values through HREF

    You can access values in the URL string using the<BR>ASP Request object like so:<BR><BR>&#039this will access the value of &#039num&#039<BR>strNum = Request("num")<BR><BR>&#039this writes it to the screen<BR>Response.write(strNum)<BR><BR>hope this helps :)<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts