PHP-Code:
$sql "
...
WHERE
    [FIELD] IN ( "
.implode',' $array_of_numbers )."
"