PHP reads EXCEL_PHP tutorial

WBOY
Release: 2016-07-13 10:59:26
Original
847 people have browsed it

Modification of the class that PHP reads into EXCEL

After using the EXCEL class provided by other netizens on this site to import data, all codes displayed in MYSQL are श... and so on, and Chinese cannot be displayed. The same is true for me when using it. For this reason, I searched online for a long time. Finally, I synthesized the classes provided by two netizens and solved such problems. Please download and use it!
We are all discussing it. If it infringes the copyright of the original author, please understand! ! ! !
If you don’t agree, I will delete it immediately!


How to use this type is as follows:

require "excel_class.php";

Read_Excel_File("Book1.xls",$return);

for ($i=0;$i {
for ($j=0;$j {
echo $return[Sheet1][$i][$j]."|";
}
echo "
";
}
?>

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/631902.htmlTechArticleModification of the class that PHP reads into EXCEL. After importing data using the EXCEL class provided by other netizens on this site, All codes displayed in MYSQL are #2358... and so on, and Chinese cannot be displayed. I have used...
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 admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template