Menu

Setting page setup of a sheet by PHP

Help
2005-06-01
2013-05-02
  • Alberto Spolaor

    Alberto Spolaor - 2005-06-01

    Hi! I'm just registered to this very nice site,because I've found some interesting thing in using PHP for Excel!! But I have now a problem.
    After exporting a PHP page into Excel (command header('Content-type: application/vnd.ms-excel');), I want to set the first three rows of the sheet as a page header for any pages that will be printed, if it is possible!!! Thanks and sorry for my English :) Alberto Spolaor

     
    • mmp

      mmp - 2005-06-01

      Take a look at: http://www.sitepoint.com/article/pear-spreadsheet_excel_writer

      (although I'm not sure that package has been kept up to date).

      -Mark

       
    • Alberto Spolaor

      Alberto Spolaor - 2005-06-08

      Hi! I'm right here. Thanks for the link, I've found all that I need. But I've got still a problem...I found the function setFooter($string), that sets $string as page footer; with this function, can I set the number of each page that will be printed? Thanks a lot & bye!

       

Log in to post a comment.

MongoDB Logo MongoDB