Assignment 4 - PHP Basics (Functions)

After completion of this assignment, you will learn to:

  1. Use functions in PHP.
  2. Create and manipulate elements in array in PHP.
  3. 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

Example 3: Pop an element of the array.

Today I learned to:

To Do List: