use the following
<?php
$a="hi";
$prints =" <html>
<h1> $a</h1>
</html>";
echo"$prints";
?>
5
solved show php variable in html heading [duplicate]
use the following
<?php
$a="hi";
$prints =" <html>
<h1> $a</h1>
</html>";
echo"$prints";
?>
5
solved show php variable in html heading [duplicate]