Update file compte.php
This commit is contained in:
parent
73bb75feed
commit
76df8263d0
@ -4,7 +4,7 @@ require "../include/functions.php";
|
||||
|
||||
$bdd = connect($dbhost, $dbname, $dbuser, $dbpass);
|
||||
$req = $bdd->prepare("SELECT ID, username, creation_date, display_name, role, profile_picture, banner, bio FROM users WHERE ID = :user_id");
|
||||
$req->bindParam(":user_id", $_SESSION['user_id']);
|
||||
$req->bindParam(":user_id", $_SESSION['userid']);
|
||||
$req->execute();
|
||||
$resultat = $req->fetchAll(PDO::FETCH_ASSOC);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user