L
L
Li2020-04-25 21:04:33
PHP
Li, 2020-04-25 21:04:33

How to correctly display notifications from the database?

The header displays notifications from the notification table On the bonus.php

page , there are several links leading to: bonus.php?open=1 bonus.php?open=2 When you click on the link, the text, User ID, and flag are added to the notification table. Immediately after the addition, there is a redirect to bonus.php without a parameter How to display a notification and delete it or change the flag the next time the page is reloaded?


Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alekssamos, 2020-04-25
@alekssamos

Immediately upon output on the page with the output, write the necessary information into a variable, and clear the base.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question