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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

looping hyper link problem

Status
Not open for further replies.

Guest_imported

New member
Joined
Jan 1, 1970
Messages
0
I'm trying to create a list of hyperlinks from words taken from a database. The problem I have is that I need to add a "#" in order to hyperlink inside the document.

<cfloop query=&quot;test&quot;><a href=&quot;##word#&quot;></cfloop>

This throws an error. Any suggestions?
 
Escape the # by putting 2 of them, ##:

<cfloop query=&quot;test&quot;><a href=&quot;###word#&quot;></cfloop> - tleish
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top