Jaiff Jaiff - 1 year ago 86
HTML Question

HTML table data transfer into MS Excel?

I have a report which is created by PHP getting data from mysql and display in HTML table cells now I just created a button at the bottom of table Transfer in Excel when user click on this button then html data completely transfer in MS Excel.

So how can I do this if anybody have some code, script etc please give me.

Answer Source

You can use the excellent PHP library PHPExcel