hi,
$sql2 = mysql_query("SELECT email
bitte schreibe dies so, wie ich es dir in https://forum.selfhtml.org/?t=103075&m=634479 gezeigt habe, um auch eine kontrollausgabe der erzeugten query zu bekommen.
dann mach doch einfach echo $sql2."<br>"; dann haste das was du wolltest.
aber ich bekomme folgendes ausgespuckt: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'IN ('Array')' at line 3