Can anyone give me a light on best practice of concatenation of variable.
I'm doing this:
$html="
<td>
<span class='campotitulo'>";
echo $dadosboleto["codigodebarras"];
$html = $html."</span>
</td>";
Is there any more practical way? I have 700 lines to concatenate html and php.
* The final result of $ html will be used in mPDF to generate a PDF page.