getConnection(); echo "Connessione al database riuscita!"; } catch (Exception $e) { echo "Errore: " . $e->getMessage(); }