使用WHERE子句将数组传递给查询

本文翻译自:Passing an array to a query using a WHERE clausephp Given an array of ids $galleries = array(1,2,5) I want to have a SQL query that uses the values of the array in its WHERE clause like: 给定一个ID数
相关文章
相关标签/搜索