![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
31/10/2014, 11:01
|
![Avatar de Patriarka](http://static.forosdelweb.com/customavatars/avatar387800_5.gif) | | | Fecha de Ingreso: enero-2011 Ubicación: Moreno, Buenos Aires, Argentina
Mensajes: 2.851
Antigüedad: 14 años Puntos: 288 | |
Respuesta: Pasar un parametro o variable a una clase y bueno corregilo:
$this->ndatabase = $cod_empresa;
$server = 'stmbielve';
$database = $this->ndatabase; |