3
1
Back

$imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ $article['content'] .= "
Alt: " . $img->getAttribute('title') .

New Pull Request