... Tax");$worksheet->freezePanes(array (3) );for ($i = 3; $i < 101; $i++){ $worksheet->write($i, 0, "Item $i"); $worksheet->write($i, 1, rand (3, 100), $price); $cell ... ($Day->isFirst()) { $row++; $col = 0; } if (!$Day->isEmpty()) { $table->setCellContents($row, $col, $Day->thisDay()); $t = sprintf('%4d-%02d-%02d', $Day->thisYear(), ... table containing your data, and then send a content-type HTTP header with the value of application/vnd.ms-excel followed by your table. The web browser will accept the header and treat the HTML...