Re: Page Break
| From: | Matt McClanahan | Date: | Sun, 04 Jun 2000 19:40:32 +0000 |
| Subject: | Re: Page Break | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-995@lists.php.net to get a copy of this message | ||
On Sun, 5 Mar 2000, PHP wrote:
> Hello There!
>
> I am taking a report output in a .php3 page. Now if the report is long and I
> want to print the page from browser, the print comes on more than one pages.
> I want to insert a page break in print after every 20 records. Is this
> possible? If yes how?
HTML has no concept of what a 'page' is, that's the job of the web
browser. However as far as grouping the data goes, you could put every 20
records in a table. I don't know about IE, but Netscape won't print a
single table across a page break unless the table is larger than a page.
Matt