Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

function to output the html (continued)

2006-09-15
2013-04-15
  • hessodreamy
    hessodreamy
    2006-09-15

    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();
    }