Submitted Form not POSTing Data (except for submit=>Submit )

前端 未结 1 596
我在风中等你
我在风中等你 2020-12-21 03:10

I have been trying to submit data with a form to some php code. The code gets $_POST[\'sumbit\'] == \'Submit\' but nothing else.

Example:



        
相关标签:
1条回答
  • 2020-12-21 03:23

    Forms need inputs with NAMEs, IDs will not work. Any input field without a name attribute does not send data.

    0 讨论(0)
提交回复
热议问题