PHP is server-side code that runs on top of a normal HTML website. This means you can use HTML and PHP together.
<!DOCTYPE html>
<html>
<head>
<title>PHP Store</title>
</head>
<body>
<?php
// Using two forward slashes we create comments in php.
// Within the php tag, we can insert values into our HTML.
echo "<h1>Welcome!</h1>";
?>
</body>
</html>
In this example, we used the "echo" command to insert an HTML header within the php tags. All of our php code will be contained in these tags.
In your browser, click on the php-course folder, and you should see the header we inserted being displayed.
If it worked, save your changes to GitHub.
git add index.php
git commit -m"initial php setup"
git push origin master