Fatal error: Uncaught PDOException: 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 'AND idGenere=8' at line 1 in C:\inetpub\vhosts\odonton.net\immobiliarehouse.it\GEST\inc\Bdati.php:241
Stack trace:
#0 C:\inetpub\vhosts\odonton.net\immobiliarehouse.it\GEST\inc\Bdati.php(241): PDO->query()
#1 C:\inetpub\vhosts\odonton.net\immobiliarehouse.it\inc\incPag\ricerca_corpo.php(330): Bdati->conta()
#2 C:\inetpub\vhosts\odonton.net\immobiliarehouse.it\modelli\masterGenerale.php(190): require_once('C:\\inetpub\\vhos...')
#3 C:\inetpub\vhosts\odonton.net\immobiliarehouse.it\ricerca.php(8): require_once('C:\\inetpub\\vhos...')
#4 {main}
thrown in C:\inetpub\vhosts\odonton.net\immobiliarehouse.it\GEST\inc\Bdati.php on line 241