开发者

How to populate Excel Spreadsheet with MySQL Data using PHP

开发者 https://www.devze.com 2023-02-06 03:47 出处:网络
Let\'s go ahead and get this out of the way - i realize I can generate tables with php and mysql and output in \'almost\' any format I need but in this scenario, the excel spreadsheet开发者_JS百科 is

Let's go ahead and get this out of the way - i realize I can generate tables with php and mysql and output in 'almost' any format I need but in this scenario, the excel spreadsheet开发者_JS百科 is formatted in some strange ways (layout, color, etc) and the client won't budge. I have to use the exact excel spreadsheet.

I am trying to pull data from a mysql database with php calculations behind it and populate various cells within an Excel file. Is it possible to do this?

Thank you ahead of time


You can try PHPExcel ( http://phpexcel.codeplex.com/). I think this is what you are looking for.

0

精彩评论

暂无评论...
验证码 换一张
取 消