3
1
Back

Foreach ($imgs as $img) { if (!$alt_text || $alt_text == $article['title'] || strpos($article['title'], $alt_text) !== false){ } elseif ($alt_text == $title_text){ } elseif (strpos($title_text, $alt_text) !== false){ // there's both alt and title texts, they're both different.

New Pull Request