Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'BETWEEN temp_inicio AND temp_fin) OR (temp_inicio IS NULL AND <= temp_fin) O...' at line 2 in /home/preferen/web/lapreferente.com/public_html/funciones.php:1585
Stack trace:
#0 /home/preferen/web/lapreferente.com/public_html/funciones.php(1585): mysqli->query()
#1 /home/preferen/web/lapreferente.com/public_html/jugadores.php(1435): getEscudo()
#2 /home/preferen/web/lapreferente.com/public_html/jugadores.php(192): historialJugadorV2()
#3 /home/preferen/web/lapreferente.com/public_html/jugadores.php(12): jugadorHTML()
#4 /home/preferen/web/lapreferente.com/public_html/index.php(791): fichaJugador()
#5 {main}
thrown in /home/preferen/web/lapreferente.com/public_html/funciones.php on line 1585