First commit

This commit is contained in:
2025-09-11 11:25:49 +02:00
commit 2a1804109b
19 changed files with 256 additions and 0 deletions

14
vue/gestion_livres.php Normal file
View File

@@ -0,0 +1,14 @@
<h1>Gestion de la bibliothèque</h1>
<form method="POST">
<label>Catégorie :</label>
<select name="categorie">
<?php foreach ($categories as $categorie): ?>
<option value="<?= $categorie['id'] ?>"><?= $categorie['nom'] ?></option>
<?php endforeach ?>
</select><br>
<label>Titre : <input type="text" name="titre"></label><br>
<label>Auteur : <input type="text" name="auteur"></label><br>
<label>Année : <input type="number" name="annee"></label><br>
<button type="submit">Ajouter</button>
</form>