Export MySQL data records to an Excel file in one PHP file, simple and easily!
This tutorial require 1 PHP file and 1 table of mySQL database.
1. export_excel.php
2. Database "tutorial" and table "name_list" with 2 fields: id(auto_increment), name(varchar, 50) and put some records about 20 - 30 records into this table. (directly by phpMyAdmin)
This tutorial require 1 PHP file and 1 table of mySQL database.
1. export_excel.php
2. Database "tutorial" and table "name_list" with 2 fields: id(auto_increment), name(varchar, 50) and put some records about 20 - 30 records into this table. (directly by phpMyAdmin)
No comments:
Post a Comment