How to make an Excel File from PHP

When I was searched about convertion, HTML to EXCEL, PHP can do it. Just add this simple code :


header("Content-type: application/");
header("Content-Disposition: attachment; filename=$FileName");


just rename $FileName with your file name.

Hope it will make a benefit for you all....

Just Comment, if there is a mistake in my code.

Thank you all...


Postingan populer dari blog ini

10 Alasan Memakai Framework PHP

Bagaimana me'ucwords'kan string di mysql

5 Tips Manajemen Waktu