why cant i run this part of my code is showing some syntax error on the last line
Parse error: syntax error, unexpected token "}", expecting "," or ";"
<?php
if (alert) {
echo ' <div class="alert alert-primary" role="alert">
A simple primary alert—check it out!
</div> '
}
?>