sql:select id,f_id 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] => C:\wwwroot\xhwhn.com\class\AllService.class.php [line] => 38 [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] => 25 [host_info] => 127.0.0.1 via TCP/IP [info] => [insert_id] => 0 [server_info] => 5.5.62-log [server_version] => 50562 [stat] => Uptime: 497418 Threads: 1 Questions: 89667 Slow queries: 0 Opens: 78 Flush tables: 1 Open tables: 1 Queries per second avg: 0.180 [sqlstate] => 00000 [protocol_version] => 10 [thread_id] => 5355 [warning_count] => 0 ) ) [type] => -> [args] => Array ( [0] => select id,f_id from category where id = ) ) [2] => Array ( [file] => C:\wwwroot\xhwhn.com\list.php [line] => 18 [function] => getMainPos [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] => 25 [host_info] => 127.0.0.1 via TCP/IP [info] => [insert_id] => 0 [server_info] => 5.5.62-log [server_version] => 50562 [stat] => Uptime: 497418 Threads: 1 Questions: 89668 Slow queries: 0 Opens: 78 Flush tables: 1 Open tables: 1 Queries per second avg: 0.180 [sqlstate] => 00000 [protocol_version] => 10 [thread_id] => 5355 [warning_count] => 0 ) ) ) [type] => -> [args] => Array ( [0] => ) ) )