View previous topic :: View next topic |
Author |
Message |
Ludde -
Joined: 20 Jul 2003 Posts: 22
|
Posted: Thu Jul 31, 2003 11:33 pm Post subject: I have this code need help |
|
|
Response.Write "<td style=""color:#000000;"" BGCOLOR=#66CCFF >" & rs("Namn") & "<br>" & rs("email") & "<br>" & rs("Country") & "<br>" & rs("url") & "<br>" & rs("message") &"</td>"
The values are taken from a databse, but what I want to do is to make the email to a clickable emaillink and the url as well, how do I do that |
|
Back to top |
|
|
mcwilliams132 -
Joined: 27 Jul 2003 Posts: 167 Location: Oshkosh, WI
|
Posted: Tue Aug 12, 2003 2:28 pm Post subject: |
|
|
you'll need to "wrap" them in a link...
if your output is pure, as in for your rs("url") www.yahoo.com then just wrap the output as such:
"<br><a href=""& rs("url") &""">" & rs("url") & "</a><br>"
the quotes get a bit tricky (and I could be wrong on what I wrote as far as the quotes go)...
But you get the basic idea...you need to create the link and place the output inside the <a href> tag and also put some content to click on.
hope that helps a bit! _________________ ::::::::::::::::::::::::::::::::::::::::::::::::::
:: Jon-Paul LeClair
:: http://mcwilliamsworld.com
:: "Lobster sticks to magnet!" |
|
Back to top |
|
|
|