Home > Database > PHPMyAdmin > body text

How to import xls in phpmyadmin

hzc
Release: 2020-06-15 16:41:29
Original
2698 people have browsed it

How to import xls in phpmyadmin

Environment

phpmyadmin character set utf8_general_ci
excel 2013 export csv character set ansi (gb2312) delimiter (English comma)

Steps

  • Export a csv file with comma as the content delimiter.

  • Use ultraedit to open the exported csv file. The string at this time should be gbk/gb2312 and saved as utf8-no bom

  • phpmyadmin Select Import, use the default utf8 character set, replace all field delimiters and content delimiters with English commas, and click Import.

  • Import completed.

Problems encountered

The character set is incorrectly selected, resulting in all garbled characters being imported (including utf8-bom) The content delimiter is incorrectly selected As a result, the import format fails or a format error is prompted halfway through the import, and the import fails.

Recommended tutorial: "phpmyadmin tutorial"

The above is the detailed content of How to import xls in phpmyadmin. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact [email protected]
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!