From 52e3f7cc66cf02f855a6e6245e34da23974403fc Mon Sep 17 00:00:00 2001 From: Louis Vallat Date: Mon, 11 Nov 2019 14:42:07 +0100 Subject: [PATCH] better styling so it's clearer --- list-cupboards.php | 35 +++++++++++++++++++++++++++++++---- 1 file changed, 31 insertions(+), 4 deletions(-) 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