Welcome to HBH! If you had an account on hellboundhacker.org you will need to reset your password using the Lost Password system before you will be able to login.

PHp Excel


ghost's Avatar
0 0

Can someone help me with my problem?

Ok, so I want people to be able to fill out a form and i want each input box to write to a different row of an excel sheet and just keep on writing to that excel sheet with all the data.

Is there an easy tutorial on this or … ya?

Thanks for your time :)


clone4's Avatar
Perl-6 Wisdom Seeker
0 0

darthchocobo wrote: Can someone help me with my problem?

Ok, so I want people to be able to fill out a form and i want each input box to write to a different row of an excel sheet and just keep on writing to that excel sheet with all the data.

Is there an easy tutorial on this or … ya?

Thanks for your time :)

http://www.ibm.com/developerworks/xml/library/os-phpexcel/index.html http://code.google.com/p/php-excel/ http://www.999tutorials.com/tutorial-create-excel-files-with-php.html http://www.codeplex.com/PHPExcel

and how long, 5 min ;)


ghost's Avatar
0 0

Excel can read CSV files, so just write the output to a CSV and open it with Excel. It will split it out into the different cells.

Oh, CSV = "comma-separated values", for those (most likely just the OP) that don't know.


ghost's Avatar
0 0

Zephyr_Pure wrote: Excel can read CSV files, so just write the output to a CSV and open it with Excel. It will split it out into the different cells.

Oh, CSV = "comma-separated values", for those (most likely just the OP) that don't know.

moshbat wrote: That was in the link I provided, I think. Yeah, I see that now… didn't look at the link before. Figured putting data into a CSV didn't need much explaining; there's even a self-explanatory do-it-all-for-you function in PHP5 called "fputcsv". Good find, though; it's definitely a much easier solution than trying to get it into a native Excel format.


ghost's Avatar
0 0

moshbat wrote: Come on! This was a simple Google search of "PHP Excel".

Not everyone can be a google jedi master. It takes vast skill to type 'google.com' and then what you are searching for in the search bar. That's why many people find it much easier to track down HBH and ask their menial questions here.