PDA

View Full Version : Form data also populates into an Excel Sheet


Jittor
08-24-2011, 05:21 PM
A job or two ago there was a programmer who added a hidden field that when the form was submitted the info was sent along it's normal path but it also populated into an Excel spread sheet in the server. It was a nice fail safe if something else in the system broke.

I could really use something like this now - any ideas how to do this?

edbr
08-25-2011, 12:53 AM
you need to use php function fwrite. heres a tutorial ,its using ana rray from a database but in principle the same

Jittor
09-01-2011, 04:18 PM
Hi Ed,

thanks for the reply - I didn't see a link to the tutorial in your post - can you post it again? Thanks!

edbr
09-02-2011, 01:05 AM
sorry aboutthat and i lost it too but this will help you i think
http://www.webdevstuff.com/87/php-and-excel.html

jmichae3
09-05-2011, 10:29 PM
there is also http://phpexcel.codeplex.com/ which does not require excel to be installed on the server.