response.write ("<a href='default.asp'>" & name & "</>")
Output will make a link on the page to default.asp, in text that is the
value of "name".
If you want to make a link to default.asp that sends the value of name,
then it will look like this:
response.write ("<a href='default.asp?name=" & name & "'>linked text goes
here</a>")
On 8/15/05, Ehtisham <[EMAIL PROTECTED]> wrote:
>
> How to use variable with HREF in response.write, I try
> it but i make a mistak
>
> Response.Write ("<a href=default.asp>&<%=name%>
> </a> ")
>
>
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
<font face=arial size=-1><a
href="http://us.ard.yahoo.com/SIG=12hi58hqn/M=362329.6886308.7839368.1510227/D=groups/S=1705115381:TM/Y=YAHOO/EXP=1124121657/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!</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/