Add code for font size under php echo code

Good day!

I have a pure php code, so my table was in echo and I want to change the font and font-size of text in table header but when I put thid code:


echo "<font size="18" face='Arial'>";
echo "<table>";

and at the lower part i close it
echo "</table>";
echo "</font>";


It only take effect in the text outside the table. and when I try to put it on the <table> It doesn’t take effect.

Thank you in advance

echo “<font size=“18” face=‘Arial’>”;
Change this line:
echo “<font size='18 face=‘Arial’>”;
You can get.

I try it but the text in the table header did not change only the text outside was change.

Try using CSS to set the font size instead of a tag that was made obsolete in 1997.

You can use as follows

echo ‘<font size=“18”’." face=‘Arial’>";