Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
Yorkshire Newbie #1
Display Database information as link
I am trying to display URLs brought in from a database as hyperlinks on a page.
If I make the text representing the URL static (the same for all) then it's ok.
(See 'click here' in the code). But if I put the dynamic information in, then
nothing is displayed. (substitute 'click here' for '<%=(All_Open...')
<td width="788"><div align="justify"><span class="index_text"><span
class="news_title">Hyperlink:</span></span> <a
href="<%=(All_Open_Calls.Fields.Item("Hyperlink"). Value)%>" target="_blank">
Click here </a> </div></td>
Thank you for your help
Yorkshire Newbie Guest
-
Showing the email link from a database link
Hi Does anyone know how to have an email link show when showing the databse info in a repeating table. Here is the link... -
Form information into a database and a contract
Hello, 1. I have a form with customer and orderinformation. The form information goes all to an access database directly. 2. The next is a... -
How do I display this information?
Okay, I have a ShoppingCartDetails table. The shopping cart lists photographic prints. There may be one image with more than one line item, or more... -
Updating database information
I am trying to collect information from a form on one page and then pass it to the page with the code below for processing. I can get the data to... -
Add a database as a table of information
I have an Access database that I would like to simply add to a table so the content of the database can be listed, while exluding some of the... -
wizardofdata #2
Re: Display Database information as link
Yorkshire,
After the target="_blank"> instead of click here, you need to put in your
record set. For example, you may want to try the following code:
<a href="<%=(All_Open_Calls.Fields.Item("Hyperlink"). Value)%>"
target="_blank"> <%=(All_Open_Calls.Fields.Item("Hyperlink").Value) %></a>
This will then create the link that will also have the hyperlink info from
your database.
I did something similar to this a while back and had to pull out my old code.
Are you plugging into the db the actual hyoerlink or just text? I also had
mine pulling from the database the record by ID number, rather than coding into
the db the actual hyperlink.
Let us know how it goes.
wizardofdata Guest
-
Yorkshire Newbie #3
Re: Display Database information as link
That has helped, thank you. I realised that I had the 'hyperlink' info in the
database stored as memo rather than a 255 character text. I switched that over
and combined with your suggestion, everything works great. Thank you for your
help!
Yorkshire Newbie Guest
-



Reply With Quote

