Assignment 4 - PHP Basics (Functions)
After completion of this assignment, you will learn to:
- Use functions in PHP.
- Create and manipulate elements in array in PHP.
- Learn to create an ordered and unordered list in HTML using PHP.
Example 1: A function that prints a section containing a list of moods.
Example 2: Printing array/list after adding an emoji.
- Problem 1: Create another variable and store HTML code
for emojis of your choice. Next, append the new emoji to the
array/list myMoodList.
Next, call the function printMoodsInUnorderedList('Problem 1', myMoodList) (20 Points).
Problem 1
Example 3: Pop an element of the array.
- Problem 2: Remove/pop at least three items from the array (20 Points).
Today I learned to:
- Use AWS Elastic Beanstalk.
- Add at least three more ...
- popping arrays
- Adding emoj'
- Creating a environment
To Do List:
- List at least three things you have learned from this assignment (10 Points).
- There should be no errors in your code (10 Points).
- Compress your code to create a zip file and
upload the file on Amazon S3 using AWS Elastic Beanstalk (20 Points).
- Upload the zip file on D2L as well (10 Points).
- Please provide a link to your website on D2L (10 Points).