diff --git a/img/jo2024.webp b/img/jo2024.webp new file mode 100644 index 0000000..2b4ae94 Binary files /dev/null and b/img/jo2024.webp differ diff --git a/index.html b/index.html index b531112..9a4902e 100755 --- a/index.html +++ b/index.html @@ -39,7 +39,6 @@ \ No newline at end of file diff --git a/php/inscription.php b/php/inscription.php index 2a851a2..d230215 100644 --- a/php/inscription.php +++ b/php/inscription.php @@ -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 !";