Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 ''10'' at line 4 in /home/ttpidapp/24tv.live/includes/functions.php:105
Stack trace:
#0 /home/ttpidapp/24tv.live/includes/functions.php(105): PDOStatement->execute()
#1 /home/ttpidapp/24tv.live/includes/functions.php(591): fetchAll()
#2 /home/ttpidapp/24tv.live/public/sports.php(24): getUpcomingEvents()
#3 {main}
thrown in /home/ttpidapp/24tv.live/includes/functions.php on line 105