Query failed! 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
Backtrace:
Array
(
[0] => Array
(
[file] => /home/chessman/public_html/webchess/includes/classes/Database.class.inc
[line] => 140
[function] => read_query
[class] => Database
[object] => Database Object
(
[queries:protected] => Array
(
)
[read_count:protected] => 2
[write_count:protected] => 0
)
[type] => ->
[args] => Array
(
[0] => SELECT rating,toolbar FROM players WHERE playerID =
[1] =>
[2] => 15
[3] =>
)
)
[1] => Array
(
[file] => /home/chessman/public_html/webchess/includes/classes/Database.class.inc
[line] => 78
[function] => read_query
[class] => Database
[object] => Database Object
(
[queries:protected] => Array
(
)
[read_count:protected] => 2
[write_count:protected] => 0
)
[type] => ->
[args] => Array
(
[0] => SELECT rating,toolbar FROM players WHERE playerID =
[1] => 1
[2] => 15
[3] =>
)
)
[2] => Array
(
[file] => /home/chessman/public_html/webchess/chess-mainmenu.php
[line] => 753
[function] => query
[class] => Database
[object] => Database Object
(
[queries:protected] => Array
(
)
[read_count:protected] => 2
[write_count:protected] => 0
)
[type] => ->
[args] => Array
(
[0] => SELECT rating,toolbar FROM players WHERE playerID =
[1] => 1
)
)
)