简体   繁体   English

如何从数据库生成Excel报告?

[英]How can I generate a excel report from a database?

I posted code about this earlier today, but it's old code that the app has now and I can't figure it out. 我今天早些时候发布了与此相关的代码,但是该应用程序现在已包含旧代码,我无法弄清楚。 So want to start fresh. 所以想重新开始。 Is there a way to generate a report from a table on a database and do it in excel. 有没有一种方法可以从数据库中的表生成报告并在excel中完成。 It would select course _ date and course _ Id as the main data. 它将选择课程_日期和课程_Id作为主要数据。

You can use PHP excel library for generating excel reports. 您可以使用PHP excel库生成excel报告。 https://phpexcel.codeplex.com/ https://phpexcel.codeplex.com/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM