Submit html table data with via form (post)

前端 未结 4 410
不思量自难忘°
不思量自难忘° 2020-12-29 14:27

I want to post this html table on submit button click.

01 - I want to retrieve the data of this table in php code (server side) 02 - I also want to display this tabl

4条回答
  •  南笙
    南笙 (楼主)
    2020-12-29 14:32

    You need to add input field in your table to post data. like

    
    

    If you do not want to display field then you can make field hidden by using type="hidden"

    Add action attribute in your form.

    Action attribute indicates the url on which your data will be posted.

提交回复
热议问题