Add files via upload

This commit is contained in:
Fernando Méndez
2021-04-06 21:14:59 +02:00
committed by GitHub
parent 73ac7f9de1
commit bc2f1cb89b
6 changed files with 365 additions and 9 deletions

View File

@ -14,8 +14,8 @@
public function __construct($bd_name){
try{
if (!$this->mysqli) {
$this->mysqli = new mysqli(_SERVERNAME, _USERNAME,
_PASSWORD, $bd_name);
$this->mysqli = new mysqli("localhost", "sw",
"_admin_", $bd_name);
}
// echo "Conexión a la BD, satisfactoria.";
} catch (Exception $e){