FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Page Break





hbrooks
I am trying to recover several entries from a database and print each entry on a separate page. Is there any scripts that can insert a page break after each database entry?
Thanks
sonam
I am not sure am I understand your question but I thing you can handle data entry with sessions without page breaking. Just read and print out each session when you need.

Sonam
hbrooks
I think I need to clarify the question. I am developing a costing system for a foundry. What I am trying to do is, print onto paper, a database entry with costing customer details and there order. There can only be 1 database entry per form but there could be several entries in the database for 1 customer. There could be several forms all on the one page so I need to insert a PAGE BREAK in the appropiate position so the printer will start printing a new page. I hope this explains it a little better.
Thanks
kv
You can use CSS2 page-break-before and page-break-after before and after your element (div or whatever). Here is a good source for info on this.

http://www.blooberry.com/indexdot/css/properties/print/pbbefore.htm
Related topics
how can i setup a page break for printer on html using php ?
Basic HTML Introduction
Printer friendly webpages
Help needed with dreamweaver
could anyone give me a Good Auction script... ill pAY!
php
[Guide] HTML and CSS
3 Things That Microsofft Cant Explain Us
Storing A Lot of Values Using Sessions
web design tips !!!!
How do websites know whether I'm using mobile
How to expired a page so a user cannot press back button ?
cut down on mess/page size?
PHP page turning problem
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.