开发者

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-C开发者_开发知识库x and D1-Dx cells. Preferably using PHP.


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.


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

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜