Unit 1: PHP - Introduction

 Home / MG2I-C0128
Unit 1: PHP - Introduction

This unit forms part of the Course in MCAST Award in Dynamic Web Development using PHP. Once a learner complete all the units in this course satisfactorily; that is has obtained a pass mark in the assessment and respected the 80% attendance s/he will achieve an award pegged at MQF Level 4, 9ECVET Credits

The course is aimed to provide students with knowledge to start a career in building dynamic websites using PHP and mySQL database.  This course will focus on industry standard practices complemented with practical examples.

This is a 30 hr guided learning course.  Students need to invest further hours in the course, which will include private study and home assignments.

Lessons are held as indicated on the prospectus and website.

This unit will provide the students with an introduction to PHP syntax.  Students will be learning and practicing how to design and implement dynamic websites using PHP.  For this reason, before engaging in complex web designs, students will be given an introduction to PHP.  This primer will mainly include all of the three basic control structures needed in programming.  Finally, this study unit will also introduce some basic input controls that are needed for end users to supply their input in the website.


Learning Outcome 1: Design, create, and test PHP web pages

Unit Content

  • Examine HTML and PHP code in a page
  • Specifying the design requirements
  • Creating the user interface
  • Writing the source code


Learning Outcome 2: Work with variables and operators

Unit Content

  • Declaring and using variables
  • Examining operators


Learning Outcome 3: Manage program flow with PHP control structures

Unit Content

  • Understanding control structures
  • Exploring the conditional control structure
  • Working with looping control structure
  • Modularizing controls structures: functions


Learning Outcome 4: Collect input using drop-down lists, radio buttons, and check boxes

Unit Content

  • Gathering user input in an HTML web page
  • Different types of user input classification
  • The drop-down list
  • The radio button
  • The check box


Learning Outcome 5: Validate user input with validation controls

Unit Content

  • The need for user input validation
  • Validating user input with PHP


The following are the suggested pre-requisites and/or entry requirements needed:


  • Completed compulsory education
  • Basic computer knowledge (ECDL-level, even though ECDL is not a requirement)
  • Basic knowledge of HTML and Javascript

Entry Requirements:

  • Functional skills in the English Language
  • Functional skills in Basic Mathematics

Course participants may be awarded either an MCAST Certificate of Attendance or an MCAST Certificate of Achievement.

MCAST Certificate of Attendance

  • An MCAST Certificate of Attendance will be awarded to those candidates who attend at least 80% of the lessons.

MCAST Certificate of Achievement

  • An MCAST Certificate of Achievement will be awarded to those candidates who satisfy the 80% attendance criteria and also choose to sit and pass the course assessment/s.
  • Students who opt not to sit for the assessment or fail (the assessment/s) will however be awarded the MCAST Certificate of Attendance provided that they fulfill the minimum attendance criteria as stated above.

If the student intends to obtain a Certificate of Achievement, she/he is required to sit for an assessment/s.  Assessment/s may take various forms such as a home assignment, class assignment, practical test and time constrained test.  However, the assessment/s is not compulsory and an applicant may choose not to sit for it.

There are no additional costs or special materials/equipment to bring.

js files