|
|
|
|
|
| | |
|
vbscript active server pages ASP vbscript SQL database informix oracle SQL Server Perl CGI Delphi PHP source code code sample samples program CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Re: making a field a link |
From: |
J. Paul Schmidt |
Date: |
6/1/2001 10:59:07 AM |
IP: |
152.163.204.73 |
Always use Server.URLEncode when creating a querystring from a variable:
<a href="http://www.mysite.com/mypage?id=<%= Server.URLEncode(objRS("MyIDFldFromDB")) %>">objRS("MyIDFldFromDB")</a>
And in the page that is opened you can use Request.QueryString("id") to get the value of id.
Also perhaps check out the following:
http://www.asp101.com/samples/index.asp
Best regards,
-Paul
J. Paul Schmidt, MBA
Databases on the Web
http://www.Bullschmidt.com
|
Previous Message
|
|
|
|
|
|
|
|
|
|
|
|