Thinkphp export Excel, how to pass the data in the table to the backstage? It's just this one step now.

Source: Internet
Author: User
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

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.