-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.php
30 lines (27 loc) · 856 Bytes
/
page.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bienvenue</title>
<link rel="stylesheet" href="main.css">
</head>
<body>
<form>
<div class="container">
<button type="submit" name="ajouter" formaction="ajouter.php">Ajouter un produit</button><br>
<button type="submit" name="produits" formaction="store.php">Voir la liste des produits</button><br>
<button type="submit" name="deconnecter" formaction="connexion.php">Se deconnecter</button><br>
</form>
</div>
</body>
</html>
<?php
session_start();
$username= $_SESSION['username'];
echo "Bonjour $username, vous êtes toujours connecté.";
?>
<body>
</body>
</html>