如何使用Simple html DOM输出类

时间:2013-09-21 18:32:29

标签: php dom frameworks

我有点问题。

    $result = array();
    $html = file_get_html('http://site.com/page.html');
    $content = $html->find('#details');
    foreach($content as $value) {
        $result['discription'] = what?
    }

如何使用简单的html DOM框架显示课程中的所有数据?

0 个答案:

没有答案