Hey All,
At the moment I'm taking the simple aproach to creating an excel file by just doing the following:
<?
$data = 'Blah blah blah';
header("Content-type: application/x-msdownload");
header("Content-Disposition: attachment; filename=extraction.xls");
header("Pragma: no-cache");
header("Expires: 0");
print "$header$data";
?>
...this works well for what I need and deals with all the html formating I use, but now I want to be able to setup the print areas (or the page breaks) on the excel sheet.
Really trying to keep this an simple as possible and I was hoping to avoid using other classes.
Does anyone have any experience with doing this or have any suggestions?
Cheers!