update
This commit is contained in:
parent
64af5a6357
commit
bc04b3ac76
@ -49,23 +49,6 @@
|
||||
return $resul;
|
||||
}
|
||||
|
||||
/*public function selectManager($username){
|
||||
$username = $this->mysqli->real_escape_string($username);
|
||||
|
||||
$sql = sprintf( "SELECT * FROM users WHERE username = '%s'", $username );
|
||||
$resul = mysqli_query($this->mysqli, $sql) or die ('Error into query database');
|
||||
|
||||
$resul->data_seek(0);
|
||||
while ($fila = $resul->fetch_assoc()) {
|
||||
$user = $this->loadUser($fila['id'], $fila['username'], $fila['email'], $fila['passwd'], $fila['rol']);
|
||||
}
|
||||
|
||||
//mysqli_free_result($selectUser);
|
||||
$resul->free();
|
||||
|
||||
return $user;
|
||||
} */
|
||||
|
||||
|
||||
//Deleted manager by "id".
|
||||
public function deleteManager($id){
|
||||
|
Loading…
Reference in New Issue
Block a user