I have no clue why yahoo stuck in the href to the login page for me,
but the point I was trying to get across is that you should change your
single quotes that you use in href='' to vbscript double quotes,
Chr(34).



--- shortestpath <[EMAIL PROTECTED]> wrote:

Start from the outside and work your way in:

Response.Write "<a></a>"
Response.Write "<a>" & "</a>"
Response.Write "<a>" & rs("vendor") & "</a>"
... "<a>" & rs("vendor") & "</a>"
... "<a href=http://mail.yahoo.com/config/login?/"; & Chr(34) & Chr(34)
& ">" & rs("vendor") & "</a>"
... "<a href=http://mail.yahoo.com/config/login?/"; & Chr(34) & "#" &
Chr(34) & ">" & rs("vendor") & "</a>"

Chr(34) is _vbscript double quote; # was our placeholder:

... "<a href=http://mail.yahoo.com/config/login?/"; & Chr(34) &
"http://localhost/vend3.asp?ven_no="; &
Chr(34) & ">" & rs("vendor") & "</a>"



--- Ehtisham <[EMAIL PROTECTED]> wrote:

Every thing work fine but I want to use database
variable instead of "clickHere". I try it but it gives
error

      response.write ("<a
href='http://localhost/vend3.asp?ven_no="; &
rs("vendor") & "'>clickHere</a>")

HELP PLEASE


                
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 


------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12hjotqb3/M=362131.6882499.7825260.1510227/D=groups/S=1705115381:TM/Y=YAHOO/EXP=1124207120/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 

---------------------------------------------------------------------    
 Home       : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
 Post       : [email protected]
 Subscribe  : [EMAIL PROTECTED]
 Unsubscribe: [EMAIL PROTECTED]
--------------------------------------------------------------------- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/active-server-pages/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to