Using PHP to Export Mysql Data to Excel
 <?php $DB_Server = “localhost”;   $DB_Username = “put your user name here”;   $DB_Password = “put your password here”;   $DB_DBName = “put your database name here”;   $DB_TBLName = “put your table name here”;     $savename = date(“YmjHis”); // excel file name… Read moreUsing PHP to Export Mysql Data to Excel