使用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數
相關文章
相關標籤/搜索