identifier starts immediately after numeric literal 这个错误,语法错误,数字后面不能直接跟字符串,不能编译通过。
将传的字符串参数加上引号
$mat.=' <div class="show_div" style="background-image: url('.$url.')"><i title="删除" class="fa fa-remove" οnclick="delImg(\'' .$obj->img. '\',this);"></i></div>';
更多推荐
identifier starts immediately after numeric literal
发布评论