Jump to content

How to create report generation using php codes

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
5 replies to this topic

#1
newphpcoder

newphpcoder

    Programming Professional

  • Members
  • PipPipPipPipPipPip
  • 479 posts
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

#2
DEViANT

DEViANT

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 358 posts
Reports for what?

:D You should rep+ me so that I can win :D

My Blog | Ask me!
Error : Satan did it

#3
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Generally, PHP can be used to extract the data and format it in an HTML table.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#4
Takumi

Takumi

    Newbie

  • Members
  • PipPip
  • 16 posts
PHP can be used to print things on the website. You can create a function to print this report on the website:

<?php

function report($message) {

echo $message;

}


report("Hello world");

?>

or just print it immidiatly:

<?php

echo "Hello world";

?>


#5
Orjan

Orjan

    Writes binary right handed and hex left handed

  • Moderators
  • 3,299 posts

Takumi said:

PHP can be used to print things on the website. You can create a function to print this report on the website:

<?php
function report($message) {
echo $message;
}

report("Hello world");
?>

or just print it immidiatly:

<?php
echo "Hello world";
?>

um... yes? do you know what a report generator is? what it does? just printing isn't especially hard. it is everything else around the printing itself when making a report generator that is hard. it's many levels of abstraction to think of, and to make it generic isn't either so easy...

A report generator is a software which takes a database and does a selection of fields in one or more tables and groups the data in one or more levels based on user input.
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall

#6
Takumi

Takumi

    Newbie

  • Members
  • PipPip
  • 16 posts

Orjan said:

um... yes? do you know what a report generator is? what it does? just printing isn't especially hard. it is everything else around the printing itself when making a report generator that is hard. it's many levels of abstraction to think of, and to make it generic isn't either so easy...

A report generator is a software which takes a database and does a selection of fields in one or more tables and groups the data in one or more levels based on user input.

Yes.. I know that, but I didnt understand what he means with report generator. I just gave basic information on how to create such an script.