The data after setCellValue is overwritten by the previous data.

Source: Internet
Author: User
: This article mainly introduces that the data after setCellValue is overwritten by the previous data. if you are interested in the PHP Tutorial, refer to it. When I call the PHPExcel function library to export an excel file, I find that when I write a number array into a row of continuous cells, if the following part of the integer is repeated, the preceding number overwrites the following number. for example, the number array is {"data": [7.0, 7.1, 7.2, 7.3]}. the final result displayed in the exported excel file is that the numbers in the four consecutive cells in this row are all 7.0. the solution is to export the results normally and the reason is being investigated, which of the following experts will explain this?

The above introduces that the data after setCellValue is overwritten by the previous data, including some content, and it is helpful for friends who are interested in PHP tutorials.

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.