Warning: Undefined variable $FILTRO_OPERE in /var/www/html/projects/lavori_pubblici/monitoraggio/server.php on line 97
[//projects/lavori_pubblici/monitoraggio/server.php:exec_sql#95]
Errore SQL : 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 '' at line 3.
FRASE:
SELECT SUM(importo_finanziamento) as TOTALE, COUNT(*) as NUMERO FROM opere_pubbliche INNER JOIN db_fasi ON opere_pubbliche.id_fase = db_fasi.id_fase
INNER JOIN finanziamenti ON opere_pubbliche.id_finanziamento = finanziamenti.id_finanziamento
WHERE id_categoria_opera='1' AND