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

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

WBOY
Release: 2016-06-13 11:58:19
Original
1279 people have browsed it

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

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

------解决方案--------------------
可在服务端用 php,也可在客户端用 js
这取决于你是如何显示网格的
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template