Categories

Updated: 10/21/2003

PHP Highlighter

This PHP function lets you easily highlight e.g. search results on a specific website. Just pass the words to highlight, the path of the page (server path) and the color to highlight with. The extraordinary property about this function is that it manages not to perform replacements inside HTML tags (which could also include the word to highlight). NEW: Version 1.1 now features also highlighting in multiple colors for all different input tokens. Thanks to Richard Danby for that!
©2003-2019 jCay.com