diff options
| author | David T. Sadler <davidtsadler@googlemail.com> | 2021-10-18 21:15:18 +0100 | 
|---|---|---|
| committer | David T. Sadler <davidtsadler@googlemail.com> | 2021-10-18 21:15:18 +0100 | 
| commit | 1a112ab14becaf6d41cd34c176cbe563d4ca9742 (patch) | |
| tree | aad7dd85d9a7d3d4465a6ef506a0259b46ed6ee7 /src/templates | |
| parent | cbaedbc5251f3b127bd81242d1344c0cd3e56e0c (diff) | |
Implement session management
Diffstat (limited to 'src/templates')
| -rw-r--r-- | src/templates/index.php | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/src/templates/index.php b/src/templates/index.php index ed84fd4..148a173 100644 --- a/src/templates/index.php +++ b/src/templates/index.php @@ -6,6 +6,9 @@          <title>Bookmarks</title>      </head>      <body> +        <?php if ($message) { ?> +            <p><?php echo $message; ?></p> +        <?php } ?>          <a href="/create">Add</a>          <ul>              <?php foreach ($bookmarks as $bookmark) { ?>  | 
