I've created a html table and I want its cells to be exported neither in excel or notepad.
I use this script to export the table but howcome the html form was also included in the export?
$filename ="excelreport.xls";
header('Content-type: application/ms-excel');
header('Content-Disposition: attachment; filename='.$filename);
Also I noticed that when I export it to text the html codes are also included