identifier starts immediately after numeric literal

编程知识 更新时间:2023-05-02 18:58:35

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

本文发布于:2023-04-28 04:08:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/956476315f0d5ad34502702d24a22eab.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:starts   identifier   immediately   literal   numeric

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!

  • 107554文章数
  • 27221阅读数
  • 0评论数