regex problem in php

后端 未结 5 1515
情书的邮戳
情书的邮戳 2021-01-26 17:45
...

How to match the html inside(including)

in PHP?

I need a

5条回答
  •  醉梦人生
    2021-01-26 18:11

    // Create DOM from URL
    $html = file_get_html('http://example.org/');
    
    echo $html->find('div.begin', 0)->outertext;
    

    http://simplehtmldom.sourceforge.net/manual.htm

提交回复
热议问题