|
|
|
|
|
| | |
|
Active Server Pages asp source code database MS SQL MS Access .mdb adovbs.inc cookies calendar codes sql commands scripts asp programming tutorials iis web server components CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Re: making a link out of information from t he database |
From: |
J. Paul Schmidt |
Date: |
6/1/2001 10:54:48 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.
Best regards,
-Paul
J. Paul Schmidt, MBA
Databases on the Web
http://www.Bullschmidt.com
|
Previous Message
|
|
|
|
|
|
|
|
|
|
|
|