SELECT DISTINCT email FROM table 1, table2 WHERE email = array value AND table1.id = table2.id
if($ query-> row() - > email == $ emailv)
答案 0 :(得分:0)
如何分割逗号分隔列表,然后运行如下查询:
WHERE my_column in (?,?,?,?)
将您的分隔列表中的4个值作为参数传递(<)>