I have this code need help

 
Post new topic   Reply to topic    Aprelium Forum Index -> Classic ASP
View previous topic :: View next topic  
Author Message
Ludde
-


Joined: 20 Jul 2003
Posts: 22

PostPosted: Thu Jul 31, 2003 11:33 pm    Post subject: I have this code need help Reply with quote

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 View user's profile Send private message
mcwilliams132
-


Joined: 27 Jul 2003
Posts: 167
Location: Oshkosh, WI

PostPosted: Tue Aug 12, 2003 2:28 pm    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> Classic ASP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group