Learn PHP by building a web site from scratch.
Part I: Creating a Web Site.
Create an empty PHP web site named DemoPHP.
If you want to learn how to create an empty web site, please go to the chapter Web Empty Site.
In the "DemoPHP" folder, create a new PHP file named Index.php.
Put the following content inside the file:
In the "DemoPHP" folder, create a new PHP file named "About.php".
Put the following code inside the file:
The about file above contains a heading and a paragraph. Please feel free to edit the content.
In the next chapters of this demo, we will add a style sheet to the web site, then we will add a database, and finally we will add navigation.
Your message has been sent to W3Schools.