method指明是GET方式或者POST方式提交
action指明要FORM提交处理的URLHeader("Location: index.html"); 转向到index.html.
相当于javascript window.location='index.html';
action指明要FORM提交处理的URLHeader("Location: index.html"); 转向到index.html.
相当于javascript window.location='index.html';
action:这里的*.php文件是你提交表单后处理数据的页面。
header():页面重定向