I've got a mysql table set up with 4 rows (ID, keywords, subject, text).
I set up a mini-search engine that prints links to the text-body of each subject whose keywords matches the search criteria (<a href=$PHP_SELF?entry=$subject>$subject</a>).
If the text-body contains words that are in the subject column, I want for it to print that same type of link around them, just for added functionality. Any suggestions on how I might do this?
(I'm somewhat of a newbie, and code-snippets would be nice)
Thanks!