i am also a tad confused.
i have produced numerous reports in differing formats from PHP and a mysql
database, using things such as many figures to calculate hours/dollar value
for work in a timesheet format, text-based "comment" reports and simple
archive reports for student details, these were all just formatted how i
wanted them to print in the html, and then the user clicks print in their
browser and they have a report.

if you are referring to a "Custom Report Style" as in a different file
format, then the most useful way I found of doing this is by generating a
CSV file, or a tab delimited .txt file, which can then be opened in Excel or
similar to display tabulated data, and most programs which manipulate data
will accept a CSV file as input, and then manipulate it in different ways
from there...

hope something in there helps

Beau

// -----Original Message-----
// From: [EMAIL PROTECTED]
// [mailto:[EMAIL PROTECTED]]
// Sent: Thursday, 26 July 2001 9:53 PM
// To: Sommai Fongnamthip; [EMAIL PROTECTED]
// Subject: Re: [PHP-DB] report style printing
// 
// 
// 
// I'm confused - what do you mean? When you use the terms 
// "Browser Style" and 
// "Custom Report Style" are you referring to style sheets, a 
// property of a 
// particular browser, or what?
// 
// If style sheets, keep in mind that different browsers react 
// in unique ways 
// to style sheets.
// 
// As I understand PHP you use it to generate HTML output, 
// which more or less 
// constrains you to what you see in the browser. You can also 
// create a text 
// file and email it to the user, or display it in the browser, 
// but that will 
// involve programming the report in PHP, there is no report writer.
// 
// Regards - Miles Thompson
// 
// 
// 
// At 10:02 AM 7/26/01 +0700, Sommai Fongnamthip wrote:
// >Hi,
// >         When I retrieve data to display on web with PHP, 
// it can print out 
// > from web in Browser Stlye.  How could we have some PHP 
// code to retrieve 
// > current display data into PC and print it with some Custom 
// Report Style?
// >
// >Sommai Fongnamthip
// >
// >
// >--
// >PHP Database Mailing List (http://www.php.net/)
// >To unsubscribe, e-mail: [EMAIL PROTECTED]
// >For additional commands, e-mail: [EMAIL PROTECTED]
// >To contact the list administrators, e-mail: 
// [EMAIL PROTECTED]
// 
// 
// -- 
// PHP Database Mailing List (http://www.php.net/)
// To unsubscribe, e-mail: [EMAIL PROTECTED]
// For additional commands, e-mail: [EMAIL PROTECTED]
// To contact the list administrators, e-mail: 
// [EMAIL PROTECTED]
// 

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to