1

How do i get img src with phpQuery from html page? Added: I need to get this 'src' to use in parser module for drupal

4

1 回答 1

6

这是一个简短的例子

$imgsrc = pq('div#foo img.pic')->attr('src'); 
于 2012-07-27T09:56:06.893 回答