关于html5中表单提交数据与php进行交互的方式
<form action="" method=“get”>
账号:<input type=“text” name=“name”>
密码:<input type=“password” name=“password”>
<br/>
<input type=“submit” value=“提交”>
</form>
其中action是指提交的服务器地址,method是提交的方式,总共有get和post两种,通过sunmit提交按钮来提交表单的数据,而php服务器根据input中的name标识来获取数据,其中,method的get和post提交数据的明显区别是get提交的数据会把表单中获取到的内容以成对的字符串来链接,并放在action的url之后,显示在地址栏里,而post并不会,具体更详细的内容可以参考这篇博客https://blog.csdn.net/fuyuehua22/article/details/38705935