header('Content-type: application/octet-stream');header("Content-Disposition: attachment; filename=\"路浩内部电话表.doc\"");
?>
<title>Telephone list</title>
Internal Phone List
Department |
Job Title |
name |
extension |
Direct Dialing |
Email |
Process Department |
Agent |
Zhang San |
1827 |
0302 |
7129@qq.com |
After you run the export file, the effect looks like this:
Now you want the following effect, which is formatted as a paper format. What should be done?
Reply content:
header('Content-type: application/octet-stream');header("Content-Disposition: attachment; filename=\"路浩内部电话表.doc\"");
?>
<title>Telephone list</title>
Internal Phone List
Department |
Job Title |
name |
extension |
Direct Dialing |
Email |
Process Department |
Agent |
Zhang San |
1827 |
0302 |
7129@qq.com |
After you run the export file, the effect looks like this:
Now you want the following effect, which is formatted as a paper format. What should be done?
You are an empty Doc Template table what is written by yourself?
It seems that you can do the doc template and then write the variable name in the table and write the data, you can check it out.