This question already has an answer here:
im tried to write php to my html file, im using wampserver, but when i add php in html it's turns to comment why ? Pls help.
<?php
echo "hello"
?>
turns to comment
<--?php
echo "hello"
?-->
</div>