Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这是使用 GROUP_CONCAT() 列 content_ids 和 content_titles 的两个表的结果,此数据用“,”分隔符分隔
我需要的是什么?
使用 php,值必须存储在数组中,并且应该使用循环打印。
谁能帮我?谢谢。
以通常的方式检索您的数据。 然后,在读取特定的逗号分隔字段后,使用explode()从中获取一个数组。 就这样