How-to articles, tricks, and solutions about IN-OPERATOR
How to use php array with sql IN operator?
You can use the implode() function to convert the PHP array into a string of comma-separated values, and then use that string in the SQL query with the IN operator.