I would like to generate report from my php which now I have only the html version. Can any one suggest me good tools to generate excel and pdf based tool at minimum? Thank you.
Asked
Active
Viewed 4,276 times
2 Answers
1
for excel you can generate .csv file
try this one
Create a CSV File for a user in PHP
and for PDF read this
-
Is csv equal to excel? So we do not need extra library for the excel to be installed is it? – user837306 Sep 22 '11 at 04:26
-
csv is good for excel its works fine create one thru excel and you will get it (p.s. csv = comma separated values) – Eli Y Sep 22 '11 at 04:49
-
if it is just a csv file how will be a .xls file then? How to come out with the columns etc? – user837306 Sep 22 '11 at 22:10
-
see this page and it will be brighter for you https://admin.easymail.rmplc.co.uk/admin_help/csv.htm – Eli Y Sep 23 '11 at 01:02
-
if say I have my columns and rows set with color on the html then how to transfer into .csv? – user837306 Sep 23 '11 at 16:54
-
you can also create a simple html table (
) and excel will load it – Eli Y Sep 23 '11 at 20:58
0
you can use birt-viewer reports tool generate the reports to any lanuage php/java and its open source

Roshan Wijesena
- 3,106
- 8
- 38
- 57
-
-
when u create report it can export to what u want format pdf excel csv etc – Roshan Wijesena Sep 22 '11 at 04:49
-
How will this birt component help in php programming as it is built for java environment right? – user837306 Sep 22 '11 at 22:03
-
yes you need to install tomcat server to birt run read the installation guide in your php web application you can give URL path to the reports then user can click and on that load the reports reports loading from tomcat server – Roshan Wijesena Sep 23 '11 at 02:52
-
the installation guide is more for windows how about linux? so it can support what format reports? – user837306 Sep 23 '11 at 16:57