query("SET NAMES 'utf8'"); $query = "SELECT anz_buch, buch, kapitel FROM `bibel_chapter_2017` WHERE verarbeitet is NULL limit 10000"; $result = $db->query( $query) or die ("Cannot execute query: result"); while ($row = $result->fetch_array()){ $suche= "$row[anz_buch]$row[buch]$row[kapitel]"; $url= "http://anonymouse.org/cgi-bin/anon-www_de.cgi/http://www.bibleserver.com/text/LUT/$suche"; $handle = file_get_contents($url); $handle = strstr($handle, '
'); $handle = strstr($handle, '