Connection failed: SQLSTATE[HY000] [1049] Unknown database 'db1'
Notice: Undefined variable: conn in /web/htdocs/www.corsiperlavoratori.it/home/corsi/include/dbconn.php on line 31

Fatal error: Uncaught Error: Call to a member function query() on null in /web/htdocs/www.corsiperlavoratori.it/home/corsi/include/dbconn.php:42 Stack trace: #0 /web/htdocs/www.corsiperlavoratori.it/home/corsi/include/setup.php(22): db_query('select * from s...') #1 /web/htdocs/www.corsiperlavoratori.it/home/corsi/formazione.php(5): include('/web/htdocs/www...') #2 {main} thrown in /web/htdocs/www.corsiperlavoratori.it/home/corsi/include/dbconn.php on line 42