Ok, here's what I am working on.
I have a "comments" field that contains random text. This information is stored in a mysql table, call it COMMENTS.
I have a mysql table that contains words with descriptions, call it WORDS.
I am going to use preg_replace to locate the words in the comments fields from the COMMENTS table, then make then a hyperlink (of sort, really just a mouseover)
Now when you mouse over a word that is in the comments field that existed in the WORDS mysql table, I want to put the description from the WORDS table in a tooltip.
I can do a tooltip with pulling info from a database relatively easy (already doing it)...
Now doing that in conjunction with the preg_replace is where I am looking for assistance.
Any better way to go about it?
Thanks.