Hello everbody !!!

I'm have a script to generate Excel Files from a mySQL database.

I use the header.....

<?php
header("Content-Type: application/vnd.ms-excel");
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");

(mySQL data)....
?>

....to generate an excel file, so far no problem.

When it generates the file, a default Worksheet is created and I want to separate the data in 4 Worksheets.
So, my question is how could I create more than 1 worksheet in the same excel file ???

Thank you all,

Paulo

    Write a Reply...