masfoto
New Member
Hello fabrik users,
Situation:
There is simple database made with fabrik.
I need to fetch data from MYSQL database and put it in Excel template.
There is already installed PHPExcel library and I can make code for inserting not dynamic (words) data in excel template .
Can anyone post some PHPExcel code for getting data from MYSQL and put the data in excel file in defined cells.
The data must be the same as a record row in the list. And other point is, how to make button on view of an record, which will start PHPExcel function.
Now I need to make front page of an order which will be printed and package order.
PHPExcel is the best solution, I think.
If anyone have other suggestions, please let me know.
I was trying to use dompdf library, but it's not working, and it's not so easy to make print lay-out in the way you want.
I am not a programmer, but can understand and modify some PHP/ MYSQL code.
Please post some examples of PHPExcel code and where I need to put it to activate button in fabrik view.
Thank you in advance!
Sorry for my bad English.
Situation:
There is simple database made with fabrik.
I need to fetch data from MYSQL database and put it in Excel template.
There is already installed PHPExcel library and I can make code for inserting not dynamic (words) data in excel template .
Can anyone post some PHPExcel code for getting data from MYSQL and put the data in excel file in defined cells.
The data must be the same as a record row in the list. And other point is, how to make button on view of an record, which will start PHPExcel function.
Now I need to make front page of an order which will be printed and package order.
PHPExcel is the best solution, I think.
If anyone have other suggestions, please let me know.
I was trying to use dompdf library, but it's not working, and it's not so easy to make print lay-out in the way you want.
I am not a programmer, but can understand and modify some PHP/ MYSQL code.
Please post some examples of PHPExcel code and where I need to put it to activate button in fabrik view.
Thank you in advance!
Sorry for my bad English.