Php's solution for reading excel content field formats has changed

Source: Internet
Author: User
Tags php excel
The format of fields in the php excel reading content has changed. excel is a regular field: & nbsp; 201407170002 & nbsp; 201407170001 & nbsp; 201407160039 & nbsp; 201407160038 after being readable by PHP, it becomes: MA & nbsp; 02148MA & nbsp; 02148MA & nbsp; 02148MA & nbsp; the format of fields in the php excel file has changed.
Excel is a regular field:
201407170002
201407170001
201407160039
201407160038
201407160037

After being readable by PHP, it becomes:
MA 02148
MA 02148
MA 02148
MA 02148
MA 02148

How can this problem be solved? Use PHPExcel to read data.

------ Solution --------------------
IMPOSSIBLE. there is no similarity between the two.
You may have mistaken columns.

You can place the xls files for testing on the cloud disk.
------ Solution --------------------
View the data type of the original excel table
------ Solution --------------------
This?

Which column do you mean?

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.