Error conectando a la BBDD. SQLSTATE[HY000] [2002] No such file or directory
Notice: Undefined variable: db in /opt/lampp/htdocs/talentoentucolonia/reporteExcel2.php on line 23

Fatal error: Call to a member function query() on null in /opt/lampp/htdocs/talentoentucolonia/reporteExcel2.php on line 23