Loading

Export Data From PHP/MySQL to Microsoft Excel

Submitted by: 
Language: 
Visitors have accessed this post 6890 times.


This code will help you on how to export data from mysql database using PHP to Microsoft Excel. The feature of this code is it export data from mysql to ms excel readable format. Download and try this code and if you have question, just leave comment and i will answer all your question.

database name: data




Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Comments

download option is not working

hello,i try to download this file and i tried to run them and i found this error"Notice: Undefined index: from in C:\xampp\htdocs\export\index.php on line 57

Notice: Undefined index: to in C:\xampp\htdocs\export\index.php on line 58"but are occur before entered item number.
- next i tried to use that print button and it doesn't work for exporting those data to the Microsoft excel.

Hi, this not working on Chrome :( help me please

It is very useful...
and
how to insert excel data into php/mysql...

Hey its not working.. Please reply

Add new comment

Filtered HTML

  • You may insert videos with [video:URL]
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <asp>, <c>, <cpp>, <csharp>, <css>, <html4strict>, <java>, <javascript>, <mysql>, <php>, <python>, <sql>, <vb>, <vbnet>. The supported tag styles are: <foo>, [foo].
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.