宝慕林3358624
2018-10-11 15:35
$objDrawing=new PHPExcel_Worksheet_Drawing();
$objDrawing->setPath($dir."/image/1.jpg");
$objDrawing->setWorksheet($objsheet);
$objWrite=PHPExcel_IOFactory::createWriter($objPHPExcel,'Excel5');
$objWrite->save('php://output');
$objDrawing->setPath($dir."/image/1.jpg");这一行有问题
$objDrawing->setPath($dir."/image/"."1.jpg");这样改
PHPExcel探索之旅
32702 学习 · 121 问题
相似问题