Zeus Books has requested that their e-commerce website be built using PHP. Specifically, Zeus Books would like to see that PHP works on their Inventory page. In order to use PHP with their Windows build of Apache, PHP will need to be configured. You may use PHP.net's guide for configuring PHP on Windows at https://php.net/manual/en/install.windows.apache2.php.
Once PHP has been configured, paste the given PHP code in your Inventory page and change the Inventory file extension from .htm to .php
PHP code:
PHP code
$book_price = 5;
echo "
";
echo " Part Number | ";
echo "Price |
";
for ( $counter = 10; $counter <= 100; $counter += 10) {
echo ""; echo $counter; echo " | "; echo $book_price * $counter; echo " |
";
}
echo "
";
?>
Based on your understanding of PHP, create a 2- to 3-page report in a Microsoft Word document addressing the following:
Screenshot showing the inventory page in the web browser with the executed PHP code.
Description of how to properly secure PHP, when using Apache.
Summary of what you have learned about PHP this week.
Support your responses with examples.