Main Topics
Browse All TopicsI have a field in dreamweaver which is coming from an access database (asp vbscript page) can anyone tell me how to make this field an external link to a web site. ie: if in the field it says xxxaaa.com I need to make display on the page http://www.xxxaaa.com and make the link go to that site. If it says somethingelse.co.uk it should display http://www.somethingelse.c
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
actually to be EXACTLY correct for the question it would need to be:
<a href="http://www.<%=sWebsi
However I'm not sure why you are not storing the host in your database. Not all websites are at a host named 'www' and may not be correctly pointed via DNS to have domain.tld resolve to www.domain.tld or whatever is the default webhost. You should probably store the FQDN (Fully Qualified Domain Name) for the webserver in your table. Just my $0.02 but please don't award me points for that, alexhogan provided the answer.
Thanks for the answers everyone. I actually got it to work using this in the link value in properties section:
http://www.<%=(Recordset1.
Nonetheless, your answers work also - how do I award these points - do I split them between the two of you?
Thanks
Business Accounts
Answer for Membership
by: alexhoganPosted on 2006-01-20 at 07:22:05ID: 15749702
If I get this right you have a database field value that is the url for a site.., correct?
ebsite%></ a>
Let's say that you are getting this value is put into the variable 'sWebsite'.
You would want to have your code look like this;
<a href="<%=sWebsite%>"><%=sW
This will create a link that has teh sme value as your returned value from your database.