问答详情
源自:3-2 使用PHPExcel导出文件代码实现

Fatal error: Call to undefined method PHPExcel_IOFactory::createWrite() in D:\zend\test\phpexcel.php on line 10,该怎么解决

$objWriter=PHPExcel_IOFactory::createWrite($objPHPExcel,'Excel2007');//按照指定格式生成Excel文件


提问者:angle‘天使 2016-04-04 00:11

个回答

  • Ju7Ran
    2016-07-30 19:13:33

    是什么错误啊 

  • Ju7Ran
    2016-07-30 19:13:14

    Fatal error:  Call to undefined method PHPExcel_Writer_Excel2007::sava() in D:\WWW\PHPExcel\demo.php on line 9


  • alsothank
    2016-04-04 21:12:13

    createWrite修改为createWriter即可