我在使用嵌套的while循环时遇到了问题。m ON g.id = m.id_entry GROUP BY g.id HAVING members >= 1 ORDER BY RAND() LIMIT 3"); while(显示了三个组),但在每个组中嵌套的循环不起作用。如果每个组中只有一个用户,并且假设他们的成员ID为1,则输出:GROUP 2 - 1 1 因此
看起来我需要第二个循环或其他东西,因为现在并不是每个邻域组都与数组中的任何值相匹配。有人能看到我错过了什么吗?field_jurisdiction_postal_codes_value FROM {content_field_jurisdiction_postal_codes} WHEREwhileFROM {content_type_neighbourhood_group} WHERE
field_postal_code_3_value IN ('%