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 'LIMIT 1' at line 1 in /var/www/vhosts/canal10.cat/httpdocs/pagina/video.php:31 Stack trace: #0 /var/www/vhosts/canal10.cat/httpdocs/pagina/video.php(31): mysqli->query() #1 /var/www/vhosts/canal10.cat/httpdocs/index.php(15): include('...') #2 {main} thrown in /var/www/vhosts/canal10.cat/httpdocs/pagina/video.php on line 31