Jump to content

Page break


sseeley

Recommended Posts

Hi I am trying to insert a page break.  If I only use one page break using the code below it fails.

 

echo "<hr/>";
echo "</p>";
echo "<p style=\"page-break-before: always\">";

 

However if I enter another duplicate line as below it works fine, but adds in another page break.

echo "<hr/>";
echo "</p>";
echo "<p style=\"page-break-before: always\">";
echo "<hr/>";
echo "</p>";
echo "<p style=\"page-break-before: always\">";

 

Can anyone help?

 

Many thanks in advance.

 

 

Link to comment
https://forums.phpfreaks.com/topic/202542-page-break/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.