P
P
philologist2010-12-09 15:10:43
PHP
philologist, 2010-12-09 15:10:43

Export from PHP to Excel/Google Spreadsheets?

Is it possible to export from a form submitted on the site to an existing Excel or Google Spreadsheet file (template)? I saw several ways to create a file on the fly, but the situation is that the file is too complicated to create with php.
Or maybe there are other programs / services for creating spreadsheets, in addition to the above, to which it will be easier to export? I have never dealt with office software before.

Answer the question

In order to leave comments, you need to log in

6 answer(s)
M
MaxF, 2010-12-09
@philologist

I'll ask quite, probably, the expected question
What is hidden under the phrase "the file is too complex to be created using php"?

P
panda, 2010-12-09
@panda

php excel? phpexcel.codeplex.com/

S
Sererator, 2010-12-09
@Serator

If by Excel we mean the csv format, then this is not difficult + a bunch of examples on the net.

L
leviathan, 2010-12-09
@leviathan

In one rather special case, I used the PHP + CLI + Excel combination for just such a job. Of course, this requires MS Office to be installed on the server, but in principle it is possible and works.

A
Andrew, 2010-12-09
@impwx

Once upon a time there was a BiffWriter class that could generate fairly simple excel files.
But he was paid, did not know how to merge cells and paint over them, and there were also problems with Russian encoding in OpenOffice.
I don’t know how things are with him now, but perhaps he will help you with something.

S
Stalker_RED, 2010-12-09
@Stalker_RED

this is what Google gave out on request “excel com interface php”
I think there are other solutions somewhere on the Internet.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question