Visitors to my site may search a database by entering a string. When they see the result, I want to be able to highlight the search term they used. This is what I have tried:
$Message=str_replace('$keyword','<b>$keyword</b>',$Message);
To put it another way, every time the user's keyword appears, I want it to be highlighted.
Any ideas would be appreciated.