酒店预订平台
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

14 行
322 B

  1. <?php
  2. use PhpOffice\PhpSpreadsheet\IOFactory;
  3. require __DIR__ . '/../Header.php';
  4. // Read from Xls (.xls) template
  5. $helper->log('Load Xlsx template file');
  6. $reader = IOFactory::createReader('Xls');
  7. $spreadsheet = $reader->load(__DIR__ . '/../templates/27template.xls');
  8. // Save
  9. $helper->write($spreadsheet, __FILE__);