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/corniche.org.uk/httpdocs/display1.php:23
Stack trace:
#0 /var/www/vhosts/corniche.org.uk/httpdocs/display1.php(23): mysqli->query('select id from ...')
#1 {main}
thrown in /var/www/vhosts/corniche.org.uk/httpdocs/display1.php on line 23