![]() ![]() For example, a lower-case "y" would display the year in two-digit format, rather than four. Contact us html-form-template Contact us. You can change how this is displayed by referring to this W3Schools list of options. HTML, CSS, Java Script, PHP etc.
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. Business Template 01 HTML+CSS+PSDGoing Green Eco BusinessLevelUp A Educational / Courses HTML TemplateInnova Construct Business, Portfolio, BlogClean Business SiteNew Chapter. The about us page is pithy and leads with a cute bulldog fitting the name and the brand. ![]() Let’s look at Bulldog, a skincare brand for men. Include a copyright notice, with an always-updated year: Copyright © CM Cawley The best about us pages use a good mix of color, have personality, and stay true to a company’s unique brand voice. 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. Save, upload to your server, then browse to index.php. With three separate HTML files in /html/ you can use PHP echo to compile them into a single page.Ĭreate a new PHP file called index.php with the following three lines in it: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |