

Well done-you've just created your first PHP website from scratch. Find the CSS for this project in the GitHub repository, along with the other simple PHP website code. Use CSS to position and style it, as you would with any other element. For example, a lower-case "y" would display the year in two-digit format, rather than four. You can change how this is displayed by referring to this W3Schools list of options. Notice how the echo date("Y") statement displays the current year in four digits. This will appear in the index.php file following the footer. Include a copyright notice, with an always-updated year: Copyright © CM Cawley Keep in mind that the actual PHP file you have open in your browser consists of just three lines.įinally, you can add a little PHP flourish with the final line. You should see the completed web page in your browser. If you have any problems downloading PHPMaker, please contact us at v.

PHPMaker is fully functional during the trial period. Save, upload to your server, then browse to index.php. PHPMaker 2023 - The Best PHP Code Generator Download Download PHPMaker today and enjoy the free 30-day trial. Create a new PHP file called index.php with the following three lines in it:
