close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

link directly to url

Thread began 8/20/2009 2:21 pm by sky927 | Last modified 8/21/2009 9:59 am by sky927 | 932 views | 2 replies |

sky927

link directly to url

<a href="<?php echo $row_WADAbusinesses['url']; ?>" <?php echo $row_WADAbusinesses["url"]; ?></a>

Hello, I have dynamic data that when displayed I would like to create a link to the url. When I click on the link, it goes to this address: www.url.com.

How do I adjust the code so that when I click the link, it goes directly to the url address: www.url.com?

Sign in to reply to this post

Jason ByrnesWebAssist

sounds like the url column in the database holds the domain portion of the URL without the http:// in front. If that is the case, add the http:// in from in your link:

php:
<a href="http://<?php echo $row_WADAbusinesses['url']; ?><?php echo $row_WADAbusinesses["url"]; ?></a>
Sign in to reply to this post

sky927

It works! Links directly to url!

Jason, Thank you so much! You're a genius! I tried everything yesterday trying to get this to work and your quick instructions did it! Thank you, Thank you, Thank you! ~Jennifer

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...