<?php
header('Content-Type: application/force-download');
header("Content-type: text/html; charset=utf-8"); 
header('Content-Disposition: attachment; filename=租赁成交记录导出-'.date('y-m-d').'.xls');
echo '<table>
  <tr>
    <td>abc</td>
    <td>123</td>
  </tr>
  <tr>
    <td>qwe</td>
    <td>456</td>
  </tr>
</table>
';
?>

 

相关文章:

  • 2021-12-15
  • 2021-07-11
  • 2021-05-24
  • 2021-11-02
  • 2022-02-14
  • 2021-11-07
  • 2021-11-23
猜你喜欢
  • 2021-11-08
  • 2021-12-05
  • 2021-12-05
  • 2021-11-23
  • 2022-12-23
  • 2021-12-15
相关资源
相似解决方案