php-simple-html-dom-parser icon indicating copy to clipboard operation
php-simple-html-dom-parser copied to clipboard

PHP Simple HTML DOM Parser adaptation for Composer and PSR-0

Results 53 php-simple-html-dom-parser issues
Sort by recently updated
recently updated
newest added

``` //function file_get_html($url, $use_include_path = false, $context=null, $offset = -1, $maxLen=-1, $lowercase = true, $forceTagsClosed=true, $target_charset = DEFAULT_TARGET_CHARSET, $stripRN=true, $defaultBRText=DEFAULT_BR_TEXT, $defaultSpanText=DEFAULT_SPAN_TEXT) function file_get_html($url, $use_include_path = false, $context=null, $offset = 0,...

Changed encoding function in convert_text. There was iconv, but now is mb_convert_encoding. It needs, because when we pass HTML in UTF-8 during creating instance of simple_html_dom and target character set...

this is a simple PHP script ``` ``` **I expected follwings:** ``` A {b c} d ``` **But result is follwings:** ``` a {bc} d ```

The parser won't find "find('p[body]');" to find it but it returns no results. Is there something I've missed, can you help???

Example code ``` $content = ""; $dom = HtmlDomParser::str_get_html($content); $newsContent = $dom->find(".test", 0)->text(); var_dump(newsContent); ``` Expected result: `string(0) ""` Result: `string(8) ""`

So, the page that I am parsing. It has a `td` tag within that in some cases it has `a` tag and in some cases it doesn't have. However, i...

I have the following table - only 2 rows shown for brevity. How do I traverse the table to extract the price class value for Catalog ID 100245 i.e. H1?...