Forum Moderators: coopster
On an HTML/PHP/maybe MySQL site, is there a way to search for certain strings and replace them with a link to a different page? I would like to do this on all the pages on the site, perhaps by adding a function.
For example, if my site was about widgets, then every time the word blue appeared, anywhere in the site, I'd like blue to be linked to the blue widget page. So you can click on "blue" and be taken there. If "red" appeared somewhere in the text, I'd like to have a link to the red widget page.
Thanks in advance for any help.