How to make cross-platform a results report in a document on the website?

All kind time of day! :)

Do not know to understand the issue and whether I formulated it, I will try as short as possible and easier to explain what I would like to implement in your web application.

Used technologies: standard stack JS, AJAX, PHP.

Goal: when you click on the button next to the filter results on the website, the user receives a document OR information to the clipboard. This information should be in the form of a table. If it is a document, then without a difference what, the most important thing to allow the user to move the table to the right document.

Problem: digging into the Internet, I found many options, but basically it is the work of PHP with WORD or EXCEL, but as I understand this requires a Windows Server and/or MS Office on the client. This is a big limitation :(

Prompt in what direction to move, what are you solve this problem?
July 9th 19 at 11:26
1 answer
July 9th 19 at 11:28
IMHO, the report is quite simple html. You can mark up at least a table, at least for printing on A4 paper. With it, funds HTML4 enough "for the eyes".

Options generate DOC(X) XLS(X) files in php the car and small truck.
Thank you very much, kind of has a lot, and PHPWord libraries/PHPExcel did not pay attention, will understand :) - Brice_Homeni commented on July 9th 19 at 11:31
And what about simple HTML can be more?) The only thing I get is to keep the page format .doc(x), but it's not the same, but as you can only store the table?) - Brice_Homeni commented on July 9th 19 at 11:34

Find more questions by tags PHPWeb Development