您好,欢迎访问一九零五行业门户网

看糗百简单PHP版

糗百php版  
<?php require 'phpquery/phpquery.php'; phpquery::newdocumentfile('http://hxyl.net/'); $art = pq('#content .entry'); foreach($art as $k=>$v){ print '标题:'.pq($v)->find('h2')->html().'<br>'; print '内容:'.pq($v)->find('p:eq(0)')->html().'<hr>'; }
其它类似信息

推荐信息