Ver Mensaje Individual
  #7 (permalink)  
Antiguo 02/02/2009, 09:40
Avatar de anlhp
anlhp
 
Fecha de Ingreso: agosto-2008
Mensajes: 121
Antigüedad: 15 años, 8 meses
Puntos: 1
Respuesta: Problema con herencia

pues al final, ha quedado asi para poder lograr la funcionalidad que quiero, y que es quitar del cliente todos los warnings y demas

Código PHP:
public function __construct($_server 'localhost'$_serverUser 'root'$_serverPwd null$_serverDB 'catalog2009') {
@
parent::__construct($_server$_serverUser$_serverPwd$_serverDB);
if (
mysqli_connect_errno()) {
die(
'<h2>There was an error connecting to the database.Please, contact system administrator.</h2>');
}
$this->success true;

;)