Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing values in Netscape 2

Status
Not open for further replies.

lb1

Technical User
Joined
Apr 19, 2002
Messages
109
Location
US
Hi
When I pass values such as:
Newpage.asp?value=This is the text

The value is recognized if I use IE but not if I use Netscape. I know there is a way to allow Netscape to accept the spaces but I don’t remember it.
Could someone give me a hint.
Thank in Advance.
Louis
 
"Newpage.asp?value=" & server.urlencode("This is the text")
 
Thanks
Louis
 

The real expression is:

a href=&quot;Main_2.asp?SearchTyp=Brand&ValDat=<%= rs.Fields(&quot;tradename&quot;) %>&quot;

where or How can I put the & server.urlencode(&quot;......&quot;)

I just tried, bu without success.

Thanks
Louis
 
a href=&quot;Main_2.asp?SearchTyp=Brand&ValDat=<%= server.urlencode(rs.Fields(&quot;tradename&quot;)) %>&quot;
 
Nice to remember.
Thanks.
Louis
 
make sure the field is not null before encoding it otherwise it may throw an error
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top