Assignment Semester 2 for PHP