Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Split output into 2 pages

Status
Not open for further replies.

smashing

Programmer
Oct 15, 2002
170
0
0
US
I'm not sure that this is directly related to PHP, but I'm using PHP for my output here so probably yes. When people successfully sign up for something on my website, I'm echoing 2 things.
1) A table containing the recipet of the information - i.e. re-confirming their deal
2) The fine print - i.e. a full page containing the terms & conditions.

I don't want the second part to print on the same page as the first, because It will not fit anyway, and people can be reluclant to sign on the second page if it only contains half the information. Linebreaks for spacing between the two is also not an option as the first part is not always the exact length.
My question is their any command in PHP or plain old HTML to start at some point on a new page?
 
Hi,
look up CSS 'page-break-before' or 'page-break-after'.

This may achieve what you're looking for.

[cheers]
~L.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top