I want to show a simple alert in php with bootstrap but I'm not getting the code this is:
echo "
<div class=alert alert-success role=alert>Logado com sucesso</div>
";
But you're interpreting the div class like this:
<div class="alert" alert-success="" role="alert">Logado com sucesso</div>
It interprets alert
separated. How can I work with 2 classes or more in a div in php?