ZombieDragon
ZombieDragon

Reputation: 131

PHP: reading from and writing to an Excel file

Let's say I've some data in cells A1-Ax from which I should get this data, process and write the result to the B1-Bx, C1-Cx and D1-Dx cells. Preferably using PHP.

Upvotes: 2

Views: 2510

Answers (2)

Donovan
Donovan

Reputation: 6132

You may want to look at PHPExcel.

(PHPExcel) provides a set of classes for the PHP programming language, which allow you to write to and read from different file formats, like Excel 2007, PDF, HTML, ... This project is built around Microsoft's OpenXML standard and PHP.

I think this is best when you have a large application written in PHP which handles excel files. I think this is not the best for very small changes.

Hope that helps.

Upvotes: 4

Ben
Ben

Reputation: 21249

PHPExcel is really good for reading/writing excel documents (and csv files).

Used it in a lot of projects, works really well.

Upvotes: 2

Related Questions