Thinkphp export Excel, how to pass the data in the table to the backstage? It's only this step now. The data in the table, including the previous sequence number $key+1, need to be passed to the backstage, how to pass. The URL should be input,text form, but tabular data is the form of data, how to pass the past
Reply to discussion (solution)
I don't think I can read much about your problem.
I suggest you split the problem apart.
According to my judgment, you should be taking a detour.
Now that you've seen the form on the page,
That means that this table is generated by PHP.
Exporting Excel is generated once again with PHP
It's just this time, not the output to the foreground, but the way to generate Excel.
Two important parameters for each column of the 1.excel header, which is an array
2.excel the contents of each row, which is a two-dimensional array
and pass it on to the way I gave it.
To access this PHP page, you will automatically be prompted to download