init
This commit is contained in:
7
emails/PHPReport-master/examples/example_7.php
Normal file
7
emails/PHPReport-master/examples/example_7.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
$file="test.xls";
|
||||
$test='<table border=1 width="200"><tr><td style="width:400px;">Cell 1</td><td>Cell 2</td></tr><tr><td style="width:400px;">Cell 1</td><td>Cell 2</td></tr></table>';
|
||||
header("Content-type: application/vnd.ms-excel");
|
||||
header("Content-Disposition: attachment; filename=$file");
|
||||
echo $test;
|
||||
?>
|
||||
Reference in New Issue
Block a user