Re: [PHP-DB] Printing several pages... From: CC Zona (cczona <email protected>)
Date: 11/23/00

In article <Pine.LNX.4.10.10011221745380.2846-100000 <email protected>>,
cardinal <email protected> (Matt McClanahan) wrote:

> > I'm showing (with PHP) several databases records on a window. How can I
> > to
> > manage the records by page to printing?, I mean If I showing 120 records
> > (or
> > rows), how can to print (send to a printer) for example 10 record (row)
> > by
> > page ?....is there something like a form feed or page break ??...
> >
> > Thanks in advance....
>
> No, because html has no concept of what a page of paper is. How much text
> fits on a page is dependent on a lot of variables, many of which are
> beyond the control of the html document.
>
> As an alternative, you could always seperate your rows with empty lines
> and <hr>'s...

In theory, you could use the CSS suggestion for page break placement, but
it's not well supported by the browsers (in fact, I'm not sure *any are
using it yet).

-- 
CC

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>