php pdo今天遇到的一个怪异问题



string(92) "select pid from tableName where pid in (?) and ctime <= ? order by ctime desc limit ?, ?" 

array(4) { [0]=> string(39) "102001618,102001455,102001609,101768759" [1]=> string(19) "2013-07-17 17:26:30" [2]=> int(0) [3]=> int(15) } 

已知道这4个pid都存在,但是我用pid处理后仅获取一条记录。

php pdo今天遇到的一个怪异问题_第1张图片

在数据库中直接查询,一次我把in的数据如图所示。

不明白pdo为何出现这种情况。如果有知道的,可以回复我,我找到问题也会修改这个帖子

你可能感兴趣的:(PHP,pdo)