header('Content-type: application/octet-stream'); header("Content-Disposition: attachment; filename=\"路浩内部电话表.doc\"");
?>
The effect after running the exported file is as shown below:
Now I want the following effect, that is, set it to paper format. What should be done?
header('Content-type: application/octet-stream'); header("Content-Disposition: attachment; filename=\"路浩内部电话表.doc\"");
?>
The effect after running the exported file is as shown below:
Now I want the following effect, that is, set it to paper format. What should be done?
This is an empty doc template. All forms and other contents are written by yourself?
This seems to be able to make a doc template. Then write the variable name in the content of the table and then write the data. You can check for details