diff --git a/list-cupboards.php b/list-cupboards.php index 2f58972..b07cf0d 100644 --- a/list-cupboards.php +++ b/list-cupboards.php @@ -8,21 +8,48 @@ if (!is_connected()) { $cupboard_list = ""; foreach (get_users_cupboards_array() as $row) { - $cupboard_list = $cupboard_list . "

" - . htmlspecialchars($row["name"]) . "

\n"; + $cupboard_list = $cupboard_list . "" + . htmlspecialchars($row["name"]) + . "" + . htmlspecialchars($row["description"]) + . "\n"; } ?> + + List cupboard + - + + + + + + + + + + +
+ Nom + + Description +
- + + \ No newline at end of file