Mysql Table records to Spreadsheet/Excel SHeet in php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
dharprog
Forum Contributor
Posts: 126
Joined: Fri Oct 27, 2006 12:20 am

Mysql Table records to Spreadsheet/Excel SHeet in php

Post by dharprog »

Hi

Could you can any body please tell me How to extract records from mysql table and put into an excel/Spread Sheet with a php program?

WHat is this concept to search in google atleast?

Thank you very much.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Look for the Excel Writer class on the PEAR site.

http://pear.php.net
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Post by califdon »

If you enter the following key words in Google, you should find numerous ways to generate spreadsheets with PHP from a MySQL database:

php xls header
Post Reply