【发布时间】:2010-01-27 15:55:15
【问题描述】:
我在 PHP 中有一个简单的数组,比如说
[1, 2, 4, 5, 6, 7]
我想查询一个 MYSQL 数据库
[1, who]
[2, where]
[3, some]
[6, there]
[9, too]
我只希望接收 PHP 数组和数据库索引列之间的交叉行。所以这会导致
[1, who]
[2, where]
[6, there]
有什么想法吗?谢谢!
【问题讨论】:
标签: php mysql intersection