Jump to content


Photo

PHP Excel page breaks


  • Please log in to reply
No replies to this topic

#1 kesz1

kesz1
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 12 April 2006 - 06:10 PM

Hello;
I generate a basic excel report from a php page (updating the header content) and I need to dynamically add page breaks to this excel file. I tried:
<DIV style="page-break-after:always"></DIV>
which works fine if the output page was for the browser, but, when I change the I update the header to display as excel, the breaks do not work.

Does anyone have any suggestions or examples to add page breaks to the php script that the excel file will recognize?

Thanks




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users