sql:select id,`name`,ename,style,keywords,`desc`,img from category where id=
错误: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 '' at line 1
Array ( [1] => Array ( [file] => /www/users/HA660116/WEB/product.php [line] => 12 [function] => execute_dql [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 '' 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 '' at line 1 ) ) [field_count] => 2 [host_info] => a80yt5pd.2386.dnstoo.com:5503 via TCP/IP [info] => [insert_id] => 0 [server_info] => 5.5.35-log [server_version] => 50535 [stat] => Uptime: 14446137 Threads: 1 Questions: 916773485 Slow queries: 492 Opens: 114566 Flush tables: 1 Open tables: 24932 Queries per second avg: 63.461 [sqlstate] => 00000 [protocol_version] => 10 [thread_id] => 31657648 [warning_count] => 0 ) ) [type] => -> [args] => Array ( [0] => select id,`name`,ename,style,keywords,`desc`,img from category where id= ) ) )