1
Can someone give me a light on better practice of variable concatenation.
I’m doing like this:
$html="
<td>
<span class='campotitulo'>";
echo $dadosboleto["codigodebarras"];
$html = $html."</span>
</td>";
Is there a more practical way? I have 700 lines to concatenate html and php.
*The final result of $html I will use in mPDF to generate a PDF page.
$html="<td><span class='fieldtitle'>"; echo $dadosbolet["codigodebarras"]; $html .= " </span></td>";
– user60252