From excel range to PHP array and vice versa

Topics: Developer Forum, User Forum
Apr 20, 2011 at 12:42 PM
Edited Apr 20, 2011 at 12:43 PM

Is there a function to write a PHP array directly to a cell range and to read a cell range directly into PHP array?

I am also missing a documentation of all functions. I found a bunch of html files in the API folder but clicking on the links reported errors.
I also found some Word documents but they seem to get you started but do not contain all available functions.

Johan

Coordinator
Apr 20, 2011 at 1:08 PM
nimda wrote:

Is there a function to write a PHP array directly to a cell range and to read a cell range directly into PHP array?

Yes and yes.

The worksheet fromArray() and rangeToArray() methods.

nimda wrote:

I am also missing a documentation of all functions. I found a bunch of html files in the API folder but clicking on the links reported errors.
I also found some Word documents but they seem to get you started but do not contain all available functions.

Access the API docs through a web server http request, not simply pointing the browser at the files.