0
I set up a CRUD and posted the message "Record updated successfully." to appear as soon as the registration is completed, but no matter which page I go to, the message continues, I want as soon as I click the button close
he clears the message
<div class="alert alert-<?php echo $_SESSION['type']; ?> alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
<?php echo $_SESSION['message']; ?>
</div>
<?php endif; ?>
It worked, thank you very much for your help :)
– FelipeSilva
@Felipesilva in this case do not forget to accept and vote on the answer. tb is important read the Sopt Survival Guide - Short Version
– tvdias