write html with php code example
Example: can i write php code in html file
<div>
<?php echo "This is printed by PHP"; ?>
</div>
<div>
<?php $sum = 5+2; echo $sum; ?>
</div>
<div>
<?php echo "This is printed by PHP"; ?>
</div>
<div>
<?php $sum = 5+2; echo $sum; ?>
</div>