Update file user.php

This commit is contained in:
Jan BELLON 2024-03-11 21:55:32 +00:00
parent e193a9df92
commit 05486ed5cb

View File

@ -146,7 +146,7 @@ if($resultat) {
$req->bindParam(":user_id", $user_id); $req->bindParam(":user_id", $user_id);
$req->execute(); $req->execute();
$resultat = $req->fetchAll(PDO::FETCH_ASSOC); $resultat = $req->fetchAll(PDO::FETCH_ASSOC);
echo "<h1>Articles de " . $user_name . "</h1>"; echo "<h1>Articles de " . $user_display_name . "</h1>";
echo "<form action='' method='get'><input type='text' placeholder='Article' name='search'><input type='submit' value='Rechercher'></form>"; echo "<form action='' method='get'><input type='text' placeholder='Article' name='search'><input type='submit' value='Rechercher'></form>";
if ($resultat) { if ($resultat) {