<form action="" method="post"> <h2>Identifiez-vous</h2> <dl> <dt> <label for="username">Nom d'utilisateur</label> </dt> <dd> <input type="text" id="username" name="username" value="<?php echo htmlspecialchars($username); ?>" /> <?php if (isset($errors["username"])) : ?> <p class="error"><?php echo $errors["username"]; ?></p> <?php endif; ?> </dd> <dt> <label for="password">Mot de passe</label> </dt> <dd> <input type="password" id="password" name="password" /> <?php if (isset($errors["password"])) : ?> <p class="error"><?php echo $errors["password"]; ?></p> <?php endif; ?> </dd> </dl> <p><input type="submit" value="Connexion" /></p> </form>