![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
28/08/2012, 08:10
|
![Avatar de Triby](http://static.forosdelweb.com/customavatars/avatar253769_17.gif) | Mod on free time | | Fecha de Ingreso: agosto-2008 Ubicación: $MX->Gto['León'];
Mensajes: 10.106
Antigüedad: 16 años, 6 meses Puntos: 2237 | |
Respuesta: "Datos de conexion incorrectos" Sabes lo que hace unset()?
Elimina una variable y, por lo tanto, la próxima vez que pretendes usarla es "no definida" o NULL.
En vez de unset($config); deberías inicializar así: $config = array(); |