posts Subscribe to Comments comments

Sunday, February 12, 2012

MySql Data To Excel using php


Use this code to convert your Mysql Query to Excel file

header ('Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');
header ('Content-Disposition: attachment; filename="filename.xlsx"');
header ('Content-Transfer-Encoding: binary');
header ('Content-Length: '.$fileSize);

0 comments:

Post a Comment

Sample Widget

 

Friends

About Us

Copyright ©2009 Blogger Template by Blogger and Blogger Templates
Black or White theme is Design by: Bloggets
Icons by: DryIcons