这就是我认为问题所在...
$sql1 = "SELECT `puntos_globales`, '$juego'
FROM `lista_jugadores` WHERE `id_jugador`='$noTop'";
这是错误消息:
错误:
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 "blackOps2'='1' WHERE `id_jugador` = '10" at line 1
$juego .. 是一个保存列名的 php 变量;在本例中为 blackOps2。我不知道为什么在错误中说 blackOps2'='1'??