/    Sign up×
Community /Pin to ProfileBookmark

How to create report generation using php codes

Good day!
I upgrade my version of mysql from mysql 4.1.10 to mysql 5.0.15. Now I used phpmyadmin to access my database using XAMPP. Now, I need to create a report generation and I have no idea how I can do that. What are the requirements and configuration I need to do? Is it a free application like a crystal reports that I can download? Or should I create my own report generation using php?
I found codes for report generation and honestly I can’ understand the whole codes because I am a beginner in using php.

Thank you in advance

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@MrBaseball34Nov 05.2010 — Check out TCPDF, they have some examples that will help you figure out what you need:

http://www.tecnick.com/public/code/cp_dpage.php?aiocp_dp=tcpdf
Copy linkTweet thisAlerts:
@wdqjMay 25.2011 — You may try VIEWidget for Javascript PHP or ASP.NET from

http://hexatech.com/viewidget

It works with all major browers.

It is a javascript-programmable report & technical drawing generator and print preview control.

You may use VIEWidget to generate reports or technical drawings,

display the results in a scrolling and zooming viewer on your web page and then print it.

It is a very flexible and productive RAD tool as it lets you freely draw tables or

other objects at arbitrary x-y coordinates. It can generate sophisticated reports that are

difficult or impossible to create with a static report writer or conventional report generator.

Below is a simple Hello World example for two print-preview pages

with page footers for page numbering:

//get length unit
var INCH = control1.getInch();

//create document
control1.startDoc();

control1.drawString(1*INCH, 1*INCH, "Hello World from Page 1");
control1.drawPageFooter("Page 1","align=center");

//...draw other stuff here

//create 2nd page
control1.newPage();
control1.drawString(1*INCH, 1*INCH, "Hello World from Page 2");
control1.drawPageFooter("Page 2","align=center");

//...draw other stuff here

//end document
control1.endDoc();

//preview first page (page index=0)
control1.setCurrentPage(0);
control1.preview();
×

Success!

Help @rhodarose spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...