简体   繁体   中英

Does php-excel-reader support xlsx

I am using php-excel-reader , but got error on reading .xlsx file. So does this support xlsx format. Or what is other solution available.

My requirement is just to read the file (xls, xlsx and ods) and render on html page.

PHPExcel seems too much as there is no requirement for editing the excel file.

Yes php support to read .xlsx file.

For that you have to use PHPExcel library.

I have created script to read excle file, You can download script from : https://www.dropbox.com/s/oao0eskflu8nyz1/PHPExcleReader.zip?dl=0

Judging from this issue it doesn't seem to work. They referr you to PHPExcel if you want to use xlsl files. From a first look, this seems like a better alternative anyways.

As far as I know php-excel-reader doesn't support xlsx. PHPExcel would be the way to go. That being said it might be better to store whatever is in your xslx files in a less proprietary way. Taking a long shot I would assume your xslx doesn't contain calculations which do belong in xlsx files but rather table data which would be better stored in some database (txt, csv, sqlite, a database server).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM