forked from ghouar-t/SaeDEV2.2
modif
This commit is contained in:
parent
23afbae591
commit
5426d71456
BIN
img/jo2024.webp
Normal file
BIN
img/jo2024.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
@ -39,7 +39,6 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
<p style="margin-top:50px;">modifié le 07/04/2023</p>
|
|
||||||
</footer>
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@ -20,7 +20,7 @@ VALUES (?,?)");*/
|
|||||||
|
|
||||||
$password_hash = password_hash($password, PASSWORD_DEFAULT);
|
$password_hash = password_hash($password, PASSWORD_DEFAULT);
|
||||||
|
|
||||||
$query_insert = "INSERT INTO user (login, mdp, Role) VALUES ('$login', '$password_hash','role')";
|
$query_insert = "INSERT INTO user (login, mdp, Role) VALUES ('$login', '$password_hash','$role')";
|
||||||
|
|
||||||
if (mysqli_query($db, $query_insert)) {
|
if (mysqli_query($db, $query_insert)) {
|
||||||
echo "Inscription réussie !";
|
echo "Inscription réussie !";
|
||||||
|
Loading…
Reference in New Issue
Block a user