Answer the question
In order to leave comments, you need to log in
Is it worth putting a semicolon?
I display the value of the variable in the view. <div><?= $title ?></div>
Should I put a semicolon after $title in this case or not? How are you doing?
Answer the question
In order to leave comments, you need to log in
Is it worth putting a semicolon after $title in this case or not?
It's up to you to set it or not, but <?= should be replaced with <?php echo is clearly worth it
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question