TP这样的数据怎么保存

WBOY
Release: 2016-06-13 12:04:08
Original
1046 people have browsed it

TP这样的数据如何保存?

本帖最后由 u012984377 于 2014-07-24 16:51:53 编辑
a10,a11,a15是单选,b12,b14是多选。name值a10,a11,b12,b14,b15是动态的。
也就是说的交的name是动态不固定的?后台怎么添加到数据库。多选值添加到一个单元格内?
添加例如a10,a11....都各是一条记录?
有点迷糊了?或者说这样的数组如何遍历
------解决方案--------------------
多选的用serialize序列化后存库,或者implode转字符串
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