Home  >  Article  >  Backend Development  >  php查询mysql后怎么合并相同字段值再输出

php查询mysql后怎么合并相同字段值再输出

WBOY
WBOYOriginal
2016-06-13 11:58:191255browse

php查询mysql后如何合并相同字段值再输出

本帖最后由 jaredlong 于 2014-05-29 13:28:44 编辑
适用php查询后输出到表格,想让catalogue这个字段只输出键盘和鼠标两个大类。
例如:

------解决方案--------------------
可在服务端用 php,也可在客户端用 js
这取决于你是如何显示网格的
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn