如何获取表单名称值的数组 [英] How to get array of form name values
本文介绍了如何获取表单名称值的数组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
例如是
<input type="text" name="description[]">
<input type="text" name="description[]">
<input type="text" name="description[]">
像这样用我的形式
我想获取描述[]
如何获取
Like this i used in my form
I want to get description[]
How can i get
推荐答案
,您将在从零开始的整数索引数组中接收描述.
作为示例
you would receve description in integer indexed array starting from zero.
as examepl
count = count(
count=count(
_GET [' 描述']); for(
_GET['description']); for(
这篇关于如何获取表单名称值的数组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文