Is there a better way to output data to html page with PHP ?
if i like to make a div with some var in php i will write something like that
print ('<div>'.$var.'</div>);
or
echo "'<div>'.$var.'</div>'";
what is the PROPER way to do that ?
or a better way, fill a $tempvar
and print it once? like that:
$tempvar = '<div>'.$var.'</div>'
print ($tempvar);
in fact, in real life, the var will be fill with much more !