Output excel if POST variable

Topics: Developer Forum
Feb 10, 2015 at 8:06 AM
Hey, I would like to get data from FORM and use it to my excel file.

First of all, I have included PHPExcel.php and IOFactory.php files. It seems its okey.

This is my all code: http://pastebin.com/pZM62Qvj

I just want to call excel output if POST status. But after click button who send data no effect. Where is my mistake?