如何在我的MySQL查詢中檢查每個數組中的每個值。我希望這是有道理的。PHP和MySQL查詢問題
SELECT articles_comments.comment_id FROM articles_comments
WHERE articles_comments.comment_id =
Array
(
[0] => 5
[1] => 6
[2] => 10
[3] => 11
[4] => 12
[5] => 17
[6] => 3
[7] => 4
[8] => 7
[9] => 8
[10] => 9
[11] => 16
)
AND articles_comments.user_id =
Array
(
[2] => 4
[3] => 4
[4] => 4
[8] => 4
[9] => 4
[10] => 4
)
什麼也沒有發生:( – HELP 2010-10-12 17:37:16
希望你的執行$查詢...很高興地說,沒有任何反應,但更精確的是,給更多的代碼... – 2010-10-12 17:41:27
看起來不錯,我+1 – 2010-10-12 17:45:00