473,609 Members | 1,861 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Wanting a "pretty output" for tabular data

scubak1w1
53 New Member
Hello,

I am wanting a "pretty output" of tabular data generated on the fly and saved in an array (PHP)...

That is, I have a link so users can chart (JpGraph) and download (CSV) tabular data, based on their selections on a query web page and using PHP, etc to pull the data out of a PostgreSQL database.

I have been requested to make ('on the fly') a 'reporting quality' version of the CSV available for download - sort of like you might get out of a report in MS Access, with say a summary at the end of the number of results, summary statistics, etc, etc.

I was seeking suggestions on software and/or approaches on how to format the data and make into, say, a 'pretty' PDF 'on the fly' that the user can download directly.

(i.e., the CSV is for the more technical users useage (sic), the 'static' PDF 'report' would be more for the manager types...)

The web server is on a Windoze OS, IIS.

I have Acrobat, MS Access, Excel, Word, PostgreSQL, etc, etc on the data/web server also if that is of any use.

I have never used Crystal Reports - but I kind of see this functionality being a web version of that?

Anyway, thanks in advance for any suggested approaches.

Regards & TIA,
GREG
Feb 29 '08 #1
3 2215
hsriat
1,654 Recognized Expert Top Contributor
See if this helps you.
Feb 29 '08 #2
eddierosenthal
11 New Member
Hello,

I am wanting a "pretty output" of tabular data generated on the fly and saved in an array (PHP)...

That is, I have a link so users can chart (JpGraph) and download (CSV) tabular data, based on their selections on a query web page and using PHP, etc to pull the data out of a PostgreSQL database.

I have been requested to make ('on the fly') a 'reporting quality' version of the CSV available for download - sort of like you might get out of a report in MS Access, with say a summary at the end of the number of results, summary statistics, etc, etc.

I was seeking suggestions on software and/or approaches on how to format the data and make into, say, a 'pretty' PDF 'on the fly' that the user can download directly.

(i.e., the CSV is for the more technical users useage (sic), the 'static' PDF 'report' would be more for the manager types...)

The web server is on a Windoze OS, IIS.

I have Acrobat, MS Access, Excel, Word, PostgreSQL, etc, etc on the data/web server also if that is of any use.

I have never used Crystal Reports - but I kind of see this functionality being a web version of that?

Anyway, thanks in advance for any suggested approaches.

Regards & TIA,
GREG
If you are pulling the data out of the database can't you prepare the data in html tables and style them (css) at the same time, with a print media css file? So before you convert to pdf you will have something 'pretty'.
If you are storing in an array or extracting you can still store or exhibit the data as html tables with in-line styling. hth
Mar 1 '08 #3
scubak1w1
53 New Member
Thank you both... this is my first web site, and so still learning this stuff... will follow up your suggestions and links now! :-)
Mar 4 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
1439
by: Lamont | last post by:
I set <%@ Page Language = "vb" ... Trace="true" %> when doing a sing along with the Course 2310B textbook. The book says the trace output will be shown at the bottom of the web page. The result I get is that the trace output overwrites the controls on the web page. Question: How can I make the trace output start at the bottom of the page? -- Lamont Phemister
2
2588
by: Mark | last post by:
Visual C# .Net Standard 7.1.3088 I'm trying to change the type of application from a windows to a console app. I go into the project properties --> Application --> According to the help, I should have: Assembly Name Output Type Default Namespace Startup Project etc etc.
3
2909
by: Jon Pope | last post by:
I've got an XML stream <node1><node2></node2></node1> which I would like to "pretty" up so it looks like the following: <node1> <node2> </node2> </node1> I've investigated the XmlTextWriter's formatting options, but the object expects the XML to be contained within a file. I've already got the string
3
1223
by: Progalex | last post by:
Hi everybody! I'm creating a very simple VB .NET application that needs to launch the command line ml.exe compiler. At the moment I'm redirecting ML's output to a text file and then my app reads its content and puts it to a textbox for the results. Is it possible to redirect ML's output as VS does, I mean the output given line by line as if it was in a console window? A practical example is given
1
1593
by: Daniel | last post by:
how to parse xsl:output ... with xpath? "./xsl:output" does not work. is there other notation for this?
1
1916
by: Peran | last post by:
If I create a simple xslt stylesheet I can quickly test this in VS2005 by pressing the "Show XSLT Output" button rather than running the whole solution. If I then create a xslt stylesheet with some extended functions I have to run the whole solution (adding the extension objects to the XsltArgumentList when calling XslCompiledTransform.Transform). The "Show XSLT Output" function does not work because it does not know where to find the...
2
1471
by: jain_tj | last post by:
Could anyone please help me with the following problem My xml file is ============== <fig id="F0000001"> <caption>Caption text</caption> <image id="I0000001" image.class="halftone" image.type="jpg" print="0" width="29-6" depth="23-6" pointer="I0000001.jpg"/> </fig>
0
1267
by: fswfsw | last post by:
-------------------------------------------------------------------------------- Hi guys, I am using Window form application in Visual studio 2005 to accomplish a serial communication. Now I have a dummy problem. By using Port3->Read(a,0,51), I receive data from a seiral port. I simply want to show one char from this array a in one window form (type of a is wchar_t array), such as a. How can I do it? textbox->text and label->test...
3
6514
by: Curious | last post by:
I''ve created a simple Console Application in C#.NET (.NET 2.0), and I have the following code: Console.WriteLine("Now let us begin!"); However, the string, "Now let us begin!", never shows up in the "View"- FYI, the text in the "View"->"Output" window is below instead: 'IO.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL
0
8130
marktang
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8573
Oralloy
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8222
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8406
tracyyun
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7002
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5510
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4085
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2531
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 we have to send another system
1
1672
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.