in case you're not sure what to do with the function, paste it into htmlparser.inc, within the class declaration (ie before line 346).
Then in your main php file you can call it like so:
$parser = HtmlParser_ForURL($url);
while ($parser->parse()) {
echo $parser->outputNode();
}
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
in case you're not sure what to do with the function, paste it into htmlparser.inc, within the class declaration (ie before line 346).
Then in your main php file you can call it like so:
$parser = HtmlParser_ForURL($url);
while ($parser->parse()) {
echo $parser->outputNode();
}