sql:UPDATE `news` SET `hits`=`hits`+1 WHERE id=/js/kindeditor/attached/image/20200606/20200606104809_12611.jpg
错误:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '/js/kindeditor/attached/image/20200606/20200606104809_12611.jpg' at line 1
Array
(
    [1] => Array
        (
            [file] => /www/users/HA660116/WEB/class/AllService.class.php
            [line] => 303
            [function] => execute_dml
            [class] => SqlHelper
            [object] => SqlHelper Object
                (
                    [conn] => mysqli Object
                        (
                            [affected_rows] => -1
                            [client_info] => mysqlnd 5.0.10 - 20111026 - $Id: c85105d7c6f7d70d609bb4c000257868a40840ab $
                            [client_version] => 50010
                            [connect_errno] => 0
                            [connect_error] => 
                            [errno] => 1064
                            [error] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '/js/kindeditor/attached/image/20200606/20200606104809_12611.jpg' at line 1
                            [error_list] => Array
                                (
                                    [0] => Array
                                        (
                                            [errno] => 1064
                                            [sqlstate] => 42000
                                            [error] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '/js/kindeditor/attached/image/20200606/20200606104809_12611.jpg' at line 1
                                        )

                                )

                            [field_count] => 17
                            [host_info] => a80yt5pd.2386.dnstoo.com:5503 via TCP/IP
                            [info] => 
                            [insert_id] => 0
                            [server_info] => 5.5.35.t15-log
                            [server_version] => 50535
                            [stat] => Uptime: 246630  Threads: 1  Questions: 19379321  Slow queries: 27  Opens: 237728  Flush tables: 1  Open tables: 36195  Queries per second avg: 78.576
                            [sqlstate] => 00000
                            [protocol_version] => 10
                            [thread_id] => 577508
                            [warning_count] => 0
                        )

                )

            [type] => ->
            [args] => Array
                (
                    [0] => UPDATE `news` SET `hits`=`hits`+1 WHERE id=/js/kindeditor/attached/image/20200606/20200606104809_12611.jpg
                )

        )

    [2] => Array
        (
            [file] => /www/users/HA660116/WEB/list.php
            [line] => 11
            [function] => hits
            [class] => AllService
            [object] => AllService Object
                (
                    [sqlHelper] => SqlHelper Object
                        (
                            [conn] => mysqli Object
                                (
                                    [affected_rows] => -1
                                    [client_info] => mysqlnd 5.0.10 - 20111026 - $Id: c85105d7c6f7d70d609bb4c000257868a40840ab $
                                    [client_version] => 50010
                                    [connect_errno] => 0
                                    [connect_error] => 
                                    [errno] => 0
                                    [error] => 
                                    [error_list] => Array
                                        (
                                        )

                                    [field_count] => 17
                                    [host_info] => a80yt5pd.2386.dnstoo.com:5503 via TCP/IP
                                    [info] => 
                                    [insert_id] => 0
                                    [server_info] => 5.5.35.t15-log
                                    [server_version] => 50535
                                    [stat] => Uptime: 246630  Threads: 1  Questions: 19379321  Slow queries: 27  Opens: 237728  Flush tables: 1  Open tables: 36195  Queries per second avg: 78.576
                                    [sqlstate] => 00000
                                    [protocol_version] => 10
                                    [thread_id] => 577508
                                    [warning_count] => 0
                                )

                        )

                )

            [type] => ->
            [args] => Array
                (
                    [0] => news
                    [1] => /js/kindeditor/attached/image/20200606/20200606104809_12611.jpg
                )

        )

)