I have an html file called main.html
main.html
<!DOCTYPE html>
<!--PHP goes here-->
</html>
And a PHP file called hello.php
hello.php
<?php
echo "<p>Hello!</p>";
?>
I want the html file to open the php file, and put it into the webpage so that i get this...
<!DOCTYPE html>
<p>Hello!</p>
</html>
What is the literal code to do this?
NOTE: I'm trying to get the actual PHP file in there. I DO NOT want this ...
<!DOCTYPE html>
<!--I already know how to do this!-->
<?php echo "<p>Hello!</p> ?>
</html>
Thanks
NOTE: main.html is an actual html file on a physical server. I've just simplified it.