Lab 5
Thursday, October 18, 2018
Write a "services.php" program that generates code similar to "services.html"
in the "basic example" folder.
Specifics:
- Each of the service headings and descriptions should be hard-coded into an associative array
named, $services, where the service heading is the key.
- The keys and items in the $services array should just be the relevant text, with no html markup.
- The number of Basic Services should be a variable.
- If the number of Basic Services is 4, just list the first 4 services.
If the number is 5, then list all 5 services.
- For now, hard-code the value of the variable in the script, but use the variable to generate the html.
- Edit the files in the website so that the href value for the Services <a> element in the <nav> section of each page is "services.php"