PHP Export MySql Table to Xls

/ Published in: PHP
Save to your folder(s)

Face it!

Whenever you make a website/app you always need to make XLS export for the simple people. I mean heaven to betsy if they have to take a csv file, or use phpMyAdmin.


Here are 3 little functions and a sample skeleton that I use from time to time when I need to export out some data to an xls file.

Place the file in a safe place or if you want a completely open to the world place... :D Then replace the XXXXX's with the appropriate data.

Give the pointy haired boss the links!


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.