Warning: Undefined variable $idProyecto in /var/www/vhosts/proyectoverde.es/httpdocs/proyecto.php on line 6

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 '' at line 3 in /var/www/vhosts/proyectoverde.es/httpdocs/includes/funciones.php:23 Stack trace: #0 /var/www/vhosts/proyectoverde.es/httpdocs/includes/funciones.php(23): mysqli_query() #1 /var/www/vhosts/proyectoverde.es/httpdocs/proyecto.php(7): consultaMysql() #2 {main} thrown in /var/www/vhosts/proyectoverde.es/httpdocs/includes/funciones.php on line 23