Good morning, I have an administrative access page for the ADMs of my site but have a part of the code in one of the pages, to create and modify users and passwords, which I would like to appear only when the user "TESTES" is connected on the page. I'm a little lay in PHP so I think you've done something wrong or something is missing.
Within this page there is a STRING that calls the name of the connected user, and I am using this STRING to do that, which would be $_SESSION['nome_usuario']
.
<?php if ($_SESSION['nome_usuario'] = "TESTES") { ?>
"Codigos em HTML e PHP que cria e modifica usuarios"...
<?php } ?>
In case you wanted SE
user to be equal to "TESTES" it would display the codes and if it is not equal do not present anything. Thanks in advance for all the help.