Parsing OpenXML Files

Topics: Developer Forum, User Forum
Apr 11, 2007 at 8:01 PM
What are the odds that some of this work could be used in a PHP class that parses XLSX files (for eventual insertion into a DB)?
Apr 12, 2007 at 1:53 PM
Can you specify more clearly?

Currently, some XLSX files can be read using PHPExcel, and specific cell data could be saved into a database if you want to.
Apr 12, 2007 at 3:42 PM
I was under the impression that PHPExcel was only for writing XLSX files from PHP. I didn't see much about being able to read them. Right now, my application allows users to upload a XLS file to import some data into their account. It allows them to map columns in the XLS file to "columns" in their records.

We want to be able to add XLSX support and I was looking at PHPExcel as a way to solve that problem, or at least get started toward it.
Apr 12, 2007 at 5:46 PM
Reading is currently less implemented than writing, but it is supported. Be sure to checkout the 07reader.php example in the PHPExcel "Tests" folder after downloading.