Home > Backend Development > PHP Tutorial > 50分,求教:表单元素不固定,传到后台怎么处理 (php)

50分,求教:表单元素不固定,传到后台怎么处理 (php)

WBOY
Release: 2016-06-23 13:27:58
Original
803 people have browsed it


如图    我最多可以加五组   文本框   他们的name是相同的    后台只能接受第一组   其他的不会 post到后台,这要怎么处理呢?

求大神们  帮忙 给个思路


回复讨论(解决方案)

每组4个文本框  我没写样式 他们挤在一起了

name 写成数组不就行了

name 写成数组不就行了

写成数组的话,name就不相同了吧
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