Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CF Newbie

Status
Not open for further replies.

jreinard

Technical User
Feb 21, 2001
24
0
0
US
OK, so I am trying to convert data stored in an access db into a hyperlink via CF. The data is a string, and contains the full path of the url. Anyone know of an easy way to do this? From the code, I would like the #URL# to actually represent a true URL from the string in the database.

<CFOUTPUT QUERY=&quot;DisplaySearch&quot; >

#Term#
#Desc#
#URL#

</CFOUTPUT>
 
How about:

<cfoutput query=&quot;DisplaySearch&quot;>
<a href=&quot;#url#&quot;>#url#</a>

Is this what you want?
 
<CFOUTPUT QUERY=&quot;DisplaySearch&quot; >

#Term#
#Desc#
<a href=&quot;#URL#&quot;>#URL#</a>

</CFOUTPUT> DeZiner
Never be afraid to try something new.
Remember that amateurs built the Ark.
Professionals built the Titanic
 
I new it was simple. Sometimes the obvious flies out the window...


Thankx!!!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top