当我写
<form id="" action="" method="post">
<ol>
<li id="">
<button type="submit" id="" name="Email" value="b1">
<span class="account-name"></span>
<span class="account-email" id="account-email-0"></span>
</button>
</li>
</ol>
现在,当我单击第一个按钮type = submit时,我将在post参数中获得b1值吗?
您可以自己找到它。只是print_r
在$_POST
你的回答是:
是的,你将通过电子邮件的名称得到B1值:
[Email] => b1
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句