PHP what is faster to use
- by user1631500
What is faster / better to use?
To put html into variables and print them later, or to just html print / echo print the content based on condition?
EXAMPLE 1:(html into variables)
if(!isset($_SESSION['daddy'])) {
$var = "<span class='something'>Go here:<a href='#'>Click</a></span>
<span…