Just getting started with php. In index.php I have
<?php echo 'test'; ?>
and when I go to localhost:8080/php/index.php I see 'test'. However I made an HTML file index.html with this code:
<html> <body> <?php include 'index.php'; ?> <h1>Welcome to my home page!</h1> </body> </html>
but all I see is 'Welcome to my home page' and no 'test'. Wondering what I'm missing here.