예제 #1
0
<?php

require '../clases/AutoCarga.php';
$bd = new BaseDatos();
$gestor = new ManejoUsuario($bd);
$email = Request::get("email");
$r = $gestor->delete($email);
//var_dump($bd->getError());
$bd->close();
header("Location: admin.php?op=Borrado&r={$r}");
예제 #2
0
<?php

require '../clases/AutoCarga.php';
$bd = new BaseDatos();
$gestor = new ManejoUsuario($bd);
$dni = Request::get("dni");
$r = $gestor->delete($dni);
//var_dump($bd->getError());
$bd->close();
header("Location: usuario.php?op=delete&r={$r}");