This commit is contained in:
Ghouar-Toussaint Rafael 2024-06-11 09:22:39 +02:00
parent 23afbae591
commit 5426d71456
3 changed files with 1 additions and 2 deletions

BIN
img/jo2024.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

View File

@ -39,7 +39,6 @@
</div>
<footer>
<p style="margin-top:50px;">modifié le 07/04/2023</p>
</footer>
</body>
</html>

View File

@ -20,7 +20,7 @@ VALUES (?,?)");*/
$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)) {
echo "Inscription réussie !";