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 'AND Pubblico=1 GROUP BY TipoDocumento' at line 1
get_post:
Array
(
[lingua] => it
[Azione] => notizie
[id] => 3875
[id_rotaryanag] => 2
)
session:
Array
(
[fs_root] => /home/rotarysiti/htdocs/
[id_utente] => 0
[id_rotaryanag] => 2
)
Query: "SELECT COUNT(id_materiale) AS Quanti, TipoDocumento FROM materiale WHERE id_attivita= AND Pubblico=1 GROUP BY TipoDocumento"
Pagina precedente:
Pagina corrente: rotaryriminiriviera.org/crea.php?lingua=it&Azione=notizie&id=3875&id_rotaryanag=2