Location: PHPKode > scripts > Keyword Highlight in HTML contents > keyword-highlight-in-html-contents/example.php
<?php
/************************************************************************************************
 FILE           : example.php
 VERSION        : 1.0                                   
 AUTHOR         : Kunjesh J Sukhadia
 E-Mail         : hide@address.com
 last update    : 24 October 2008
************************************************************************************************/
require("includes/application-header.php");
require("libs/highlight-keyword.class.php");
$obj_highlight = new Classes_preview_iframe_data();
$site_name = "";
$result = $obj_highlight->FetchCurlData('http://www.yahoo.com/',array("Yahoo","Answers","Music"));
print $result;
?>
Return current item: Keyword Highlight in HTML contents