What is the best php library to use to with php to read/write and display components of excel files on web based pages?
Asked
Active
Viewed 3,983 times
3
-
Do you want just BIFF .xls files (up to MS Excel 2003), or Office Open XML .xlsx files (Excel 2007 onwards), or both? – Mark Baker Feb 09 '11 at 10:37
2 Answers
7
I would use PHPExcel for writing the files (in fact, I do use it)
And you could try
http://sourceforge.net/projects/phpexcelreader/
for reading but I have no experience with reading Excel files in PHP, only writing them.

Dai
- 1,510
- 1
- 11
- 12
1
For my mind it is the best library: Spreadsheet_Excel_Writer

Alex Pliutau
- 21,392
- 27
- 113
- 143
-
-
-
OK! I stand corrected... I've never found any method of accessing data from an existing workbook file using Spreadsheet_Excel_Writer, but I'm not over-familiar with it. It's not something I would have expected either, given the name, so I've never searched for reading functions that closely in the code. – Mark Baker Feb 09 '11 at 14:14