phpexcelphpexcel
提示的错误为:
fatal error: uncaught exception 'phpexcel_calculation_exception' with message 'worksheet!f42 -> formula error: unexpected operator '='' in d:\wamp\www\phpexcel\cell.php on line 300
我是想把“= =”写进f42时报的错误。
使用的版本是phpexcel1.8.0。
编码的语句为
$excel->getactivesheet()->setcellvalue($letter$i,$value);
另外,经测试,在“= =”之前加入中文字符不会出现问题。