紧急求救!!php表单name值用变量表示的问题

WBOY
Release: 2016-06-02 11:31:40
Original
893 people have browsed it

php表单

图片说明
我的渣代码里要根据数据库,动态生成不定数量的input框,这些框都是for循环出来的,唯一不同的name用循环变量$x表示
然后我再处理界面用_$point=$_POST['$x'];循环接受几个input值
结果值一个没少,但是值全是最后一个input的值,前几个空格输入的值全被覆盖了!!
很紧急,我不知道错哪里了

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!