Question: This will be a 1-page webpage created using 3 PHP files In this project, you will create header and footer pages that you will add
This will be a 1-page webpage created using 3 PHP files In this project, you will create header and footer pages that you will add to a Web page with the include statement.
1. Create a new PHP document named gatewaycomputers.php
2. Type the declaration, element, document head, and element. Use Gateway Computers as the content of the element.
3. Add the following text and elements to the document body:
4. Add the following PHP code section and include a statement at the beginning of the document body. This statement includes an external file named inc_header.php at the start of the Web page.
5. Add the following PHP code section and include a statement at the end of the document body. This statement includes an external file named inc_footer.php at the end of the Web page.
HEADER DOCUMENT:
6. Create a new document in your text editor and add the following text and elements
| Buy Online or Call 1-800-555-1212 |
7. Save the document in your text editor and add the following text and elements:
Footer document:
8. Create a new document in your text editor and add the following text and elements:
| Updated 06 January, 2021 | ©2021 by Gateway Computers. |
| All Rights Reserved. |
9. Save the document as inc_footer.php.
I need major help with this and need it explained and step by step and why thank you!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
