3
1
Back

$xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ foreach ($imgs as $img) { if (!$alt_text || strpos($article['title'], $alt_text) !== False) { if ($title_text == $article['title'] || strpos($article['title'], $title_text) !== False) { if.

New Pull Request