$sql = "select * from tabelle where ID = " . (join " or ID =", @array) . ";";