创建的关键字数组我试图通过使用HTML输入 创建的关键字数组,这里是我的html输入PHP通过HTML输入
<form method="post" action="">
<input type="text" name="name[][you]" value="" />
<input type="text" name="name[][he]" value="" />
<input type="text" name="name[][she]" value="" />
<input type="text" name="name[][you]" value="" />
<input type="text" name="name[][he]" value="" />
<input type="text" name="name[][she]" value="" />
<button type="submit">go</button>
</form>
我outbut是
Array ([0] => Array ([you] => jhon) [1] => Array ([he] => joy) [2] => Array ([she] => sarah) [3] => Array ([you] => samm) [4] => Array ([he] => petter) [5] => Array ([she] => susan))
,但我想数组像这样
Array([0]=> array ([you] => jhon [he] => joy [she] => sarah)[1]=> array ([you] => pitter [he] => tom [she] => suszan))
是有没有去做到这一点
为什么不写确切的数字在括号 - ''等等? –