Jaiff Jaiff - 1 month ago 14
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

You can use the excellent PHP library PHPExcel