[英]Getting syntax error, unexpected ',', expecting ']'
For my php function. 对于我的PHP功能。 i have these codes 我有这些代码
DB::table('trades')->where('id', $trade->id)
->update(['status' => 'done',
'accepted_trade_message_id' => $message->id,
'updated_at' => date("Y-m-d h:i:s")]);
But i getting these error while preview in website 但是我在网站预览时遇到这些错误
FatalErrorException in PageController.php line 2644: syntax error, unexpected ',', expecting ']'
I can't figure out why i already without the ',' but still the same? 我不知道为什么我已经没有了','但还是一样?
Thanks 谢谢
Answer figured out by previous function of ',' . 答案由','的先前功能找出来。 Thanks 谢谢
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.