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

Auto Hyperlink Words in Content that Exist in DB

Status
Not open for further replies.

gwrman

IS-IT--Management
Dec 20, 2005
94
CA
in say, a dictionary of terms with definitions, (in a database) how can i hyperlink (automatically) words within the definition text for which a definition also exists.

url structure is like this


Then - in the definition of "someword" there is a word that also has a definition in the database. I'd like to auto hyperlink it to that definition.

any ideas?

also, since the data is all coming from a database, what if one of the words to be replaced has not yet come up in the loop? (...or would it be okay since EVERYTHING should be in the recordset?

Also - in each block of definition text, there could potentially be multiple words for which definitions exist. - would this work here too?

Thanks again!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top