Hi,
Anybody who can recommend a best freeware reporting tool for PHP? A user friendly or easy to develop.
thanks!
10 1919 Dormilich 8,658
Recognized Expert Moderator Expert
what do you mean by "reporting tool"?
Hi Dormilich,
Im looking for a web base reporting tool where the user can dowloaded or run the result of the queries.
Dormilich 8,658
Recognized Expert Moderator Expert
what queries? I still can't figure it out.
TheServant 1,168
Recognized Expert Top Contributor
So using queries (presume MySQL or SQL queries) to generate a document displaying figures/statistics?
You said PHP but I'm not sure what you need to report on with PHP? Please give a better explanation, aswell as an example of what you wnat it to do.
Yes, I'll be using MYSQL as the database and the website will be created in PHP. Im looking for a reporting tool will help me to build these reports that will be posted on a website and can be dowload by the users
TheServant 1,168
Recognized Expert Top Contributor
What does the report contain? Is it information stored in MySQL, server status, text from you, etc...
Most things like that you can just write on your own and you don't really need a "reporting tool".
Do you want your output in html, word doc, pdf, etc.?
Yes, can be download on a excel or pdf format
TheServant 1,168
Recognized Expert Top Contributor
This is my last reply. Please tell us what the report will contain. Stuff from inside a database, server information or just text? If you do not explain yourself clearly you will not get any help. We're not here to figure out what your problem is AND solve it. We're here to give advice for clearly defined specific problems you are having.
I thought I gave enough information already... stating MYSQL is the database and output can be downloaded on pdf or excel format. And Im just asking for suggestion how to do this.
@ddtpmyra
i think the below code may help you.the below code can be used to export the
datas from mysql to excelsheet export format. -
<?
-
// Connect database.
-
mysql_connect("localhost","","");
-
mysql_select_db("tutorial");
-
-
// Get data records from table.
-
$result=mysql_query("select * from name_list order by id asc");
-
-
// Functions for export to excel.
-
function xlsBOF() {
-
echo pack("ssssss", 0x809, 0x8, 0x0, 0x10, 0x0, 0x0);
-
return;
-
}
-
function xlsEOF() {
-
echo pack("ss", 0x0A, 0x00);
-
return;
-
}
-
function xlsWriteNumber($Row, $Col, $Value) {
-
echo pack("sssss", 0x203, 14, $Row, $Col, 0x0);
-
echo pack("d", $Value);
-
return;
-
}
-
function xlsWriteLabel($Row, $Col, $Value ) {
-
$L = strlen($Value);
-
echo pack("ssssss", 0x204, 8 + $L, $Row, $Col, 0x0, $L);
-
echo $Value;
-
return;
-
}
-
header("Pragma: public");
-
header("Expires: 0");
-
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
-
header("Content-Type: application/force-download");
-
header("Content-Type: application/octet-stream");
-
header("Content-Type: application/download");;
-
header("Content-Disposition: attachment;filename=orderlist.xls ");
-
header("Content-Transfer-Encoding: binary ");
-
-
xlsBOF();
-
-
/*
-
Make a top line on your excel sheet at line 1 (starting at 0).
-
The first number is the row number and the second number is the column, both are start at '0'
-
*/
-
-
xlsWriteLabel(0,0,"List of car company.");
-
-
// Make column labels. (at line 3)
-
xlsWriteLabel(2,0,"No.");
-
xlsWriteLabel(2,1,"Company");
-
-
$xlsRow = 3;
-
-
// Put data records from mysql by while loop.
-
while($row=mysql_fetch_array($result)){
-
-
xlsWriteNumber($xlsRow,0,$row['id']);
-
xlsWriteLabel($xlsRow,1,$row['name']);
-
-
$xlsRow++;
-
}
-
xlsEOF();
-
exit();
-
?>
-
-
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: BStorm |
last post by:
I have a transaction log file where the DataSet table's Description column
is actually delimited into "subcolumns" based upon the transaction id. I
would like to parse these into separate fields...
|
by: Andrew |
last post by:
Hi there:
I can successfully control a report's GroupLevel ControlSource property by
using:
..Reports!rptEESTMT_A.GroupLevel(i).ControlSource = "CorpName"
where rptEESTMT_A is the actual...
|
by: Ian |
last post by:
(Sorry if I have repeated this, it did not appear the first time)
I have the following code on a button. The idea is that when this button is
clicked it prints several reports automatically then...
|
by: Gheaci Maschl |
last post by:
Hi all!
I would like to have your opinion about my problem and my proposal how
to solve it:
Ingredients:
- BTriev database
- Crystal Reports
- maybe MS Access
- Liinos6 (small ERP software)
|
by: KEVIN97810 |
last post by:
Hello to all,
I am trying to fill all my reports in a listbox but I may not need
to show other reports. How do you modify this function to do that. I have
losts of reports but don't want to...
| |
by: B.Newman |
last post by:
I've got some VB.NET code that *should* get a list of reports from an
Access MDB and populate a list box with them.
It doesn't detect any of the reports at all. oAccess.Reports.Count
comes up as...
|
by: VMI |
last post by:
I know this may not be the best NG for this, but I feel you guys know more
about this than any of the other NGs.
I need to build several simple reports (over 50 of them and they get their
data...
|
by: Tony Ciconte |
last post by:
We are evaluating the prospect of integrating and/or using Crystal
Reports with some of our current products. Some of these are still in
Access 97 and are running well. Since we cannot include the...
|
by: JoeW |
last post by:
I'm utilizing a database that I created within MS Access within a
program I've created in VB.NET. I am using the VB front end to
navigate the information, but want to be able to print a report,...
|
by: joelpollock |
last post by:
I'm having trouble continuously page numbering a large report in MS
Access. The report is made up of three separate Access reports which I
join together at the end.
In the past I have opened the...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |