Update user_dao.php
This commit is contained in:
parent
62fe03a7a1
commit
e0ff3aed42
@ -39,7 +39,9 @@
|
|||||||
VALUES ( '%s', '%s', '%s', '%s', '%s')",
|
VALUES ( '%s', '%s', '%s', '%s', '%s')",
|
||||||
$id, $username, $email, $password, $rol );
|
$id, $username, $email, $password, $rol );
|
||||||
|
|
||||||
return $sql;
|
$resul = mysqli_query($this->mysqli, $sql) or die ('Error into query database');
|
||||||
|
|
||||||
|
return $resul;
|
||||||
}
|
}
|
||||||
|
|
||||||
//Returns a query to check if the user name exists.
|
//Returns a query to check if the user name exists.
|
||||||
|
Loading…
Reference in New Issue
Block a user