我究竟做错了什么?如您所见,139 在第 3 行。但它仍然返回 false
id | babu | anum
--------------------
1 | 76 | 34,21,421
2 | 76 | 345,948,21,433
3 | 76 | 634,35,11,65,139
4 | 76 | 4366,25,74,9
$a = $db->query("SELECT * FROM umaga WHERE babu = 76")->fetch();
$list_of_ids = explode(',', $a['anum']);
echo in_array(139, $list_of_ids) ? 'ID 139 does exist in a row' : 'There is no row that contains that id';