Not to show certain elements?

On the website there is a button "Login". Click on it and a window will pop up with fields login and password.
How to make authenticated users this button is not showed?
April 4th 20 at 13:03
1 answer
April 4th 20 at 13:05
so,do the following: when properly stored login session or cookie,
then your conditional button is placed in the definition of this cookie/session like this:

echo '<button type="submit"><a href=kuda-nado.php>log in</a></button>';}?>

Find more questions by tags PHP