So I am developing a webpage and I am starting to dig into PHP. I went to WS3 schools and looked at the example. I copied it over to an html document. When I double clicked on it and it opened in chrome the PHP would not show up.
Here is the example code:
<!DOCTYPE html>
<html>
<body>
<?php
echo "My first PHP script!";
?>
</body>
.phpextension. (Instead of.html)