Use a pdf format...far more control
see www.fpdf.org
Bastien
From: "Ng Hwee Hwee" <hhwee@xxxxxxxxxxx>
To: "PHP DB List" <php-db@xxxxxxxxxxxxx>
Subject: 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)
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php