[suspicious - maybe spam] RE: [PHP-DB] Web Printing
| From: | Bastien Koert | Date: | Thu, 31 Mar 2005 19:44:52 +0000 |
| Subject: | [suspicious - maybe spam] RE: [PHP-DB] Web Printing | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-39081@lists.php.net to get a copy of this message | ||
Use a pdf format...far more control
see www.fpdf.org
Bastien
From: "Ng Hwee Hwee" <hhwee@towa.com.sg> To: "PHP DB List" <php-db@lists.php.net> Subject: [PHP-DB] Web Printing Date: Thu, 31 Mar 2005 18:24:41 +0800 Hi all, i am very perplexed now and i hope you guys can help me. i am reading 50,000 records from mySQL database and i need to print them out in a report format. However, i also need to print a page number through PHP on all the pages (for example, "Page 1 of 200") and display a header and a footer. i know i can print out a header and footer using HTML <thead> and <tfoot>. However, the <tfoot> doesn't always stay at the bottom of the page. For example, if the the last page only have 2 records, the <tfoot> will appear pretty high on the page. i am wondering how can i use PHP to fix the position of my header and footer and also display my page numbers and total number of pages to be printed. all help is very much appreciated!!!! thank you, hwee :o)