我有这个HTML代码。当我使用普通输入时,post方法工作正常。但是,当我使用纸张输入时,它不会。
<form is="ajax-form" action="test/x.php" method="post">
<paper-input floatingLabel label="Enter your first name" type="text" name="firstname" required></paper-input><br>
<paper-input floatingLabel label="Enter your last name" type="text" name="lastname"></paper-input><br>
<paper-input floatingLabel label="Enter your address" type="text" name="address"></paper-input><br>
<paper-input floatingLabel label="Enter your primary phone" type="text" name="phonenumber"></paper-input><br>
<br><br>
<paper-button raised recenteringTouch type="submit"><button>Submit</button></paper-button>
</form>
在php端,我有以下代码来打印名称和值。
$ value){ echo&#34;&#34 ;; echo&#34;&#34 ;; echo $ key; echo&#34;&#34 ;; echo&#34;&#34 ;; echo $ value; echo&#34;&#34 ;; echo&#34;&#34 ;; } ?&GT;