Fix: db table name App -> app
This commit is contained in:
@@ -118,7 +118,7 @@ function get_player_record_count($maestro_id, $where_statement, $limit_count) {
|
||||
|
||||
$query = "
|
||||
SELECT COUNT(*)
|
||||
FROM best_record BR, player P, App A
|
||||
FROM best_record BR, player P, app A
|
||||
WHERE BR.MaestroID = ? AND ".$where_statement."
|
||||
";
|
||||
|
||||
@@ -144,7 +144,7 @@ function get_player_record_total_count($maestro_id, $where_statement) {
|
||||
|
||||
$query = "
|
||||
SELECT COUNT(*)
|
||||
FROM best_record BR, player P, App A
|
||||
FROM best_record BR, player P, app A
|
||||
WHERE BR.MaestroID = ? AND ".$where_statement."
|
||||
";
|
||||
|
||||
@@ -167,7 +167,7 @@ function get_player_record_list($maestro_id, $where_statement, $limit_count) {
|
||||
$query = "
|
||||
SELECT DATE(BR.RecordDateTime) AS Date, TIME(BR.RecordDateTime) AS Time,
|
||||
P.Name AS Name, A.KoreanName AS Subject, BR.BestRecord AS Record
|
||||
FROM best_record BR, player P, App A
|
||||
FROM best_record BR, player P, app A
|
||||
WHERE BR.MaestroID = ? AND ".$where_statement."
|
||||
ORDER BY BR.RecordDateTime DESC
|
||||
";
|
||||
|
||||
Reference in New Issue
Block a user