Update file compte.php

This commit is contained in:
Jan BELLON 2024-03-12 08:42:36 +00:00
parent 327f396eb6
commit f8684b2eda

View File

@ -105,7 +105,7 @@ if (isset($_FILES['banner']) && $_FILES['banner']['error'] == 0) {
$req->bindParam(":user_banner", $path); $req->bindParam(":user_banner", $path);
$req->bindParam(":user_id", $_SESSION['userid']); $req->bindParam(":user_id", $_SESSION['userid']);
if($req->execute()) { if($req->execute()) {
$status "Banière mise à jour"; $status = "Banière mise à jour";
} else { } else {
$status = "Erreur SQL"; $status = "Erreur SQL";
} }