PHP for Computing Science teachers Level 1

Dynamic web sites rely on scripts or programs running on the server. PHP is one of the most widely used server-side scripting languages.

This one day course will introduce PHP, how to add it to html code and create simple dynamic web pages.

Course Aims

  • To develop Computing teachers knowledge, skills and confidence in PHP.

Course Content summary

Below is an overview of the topics covered in the course. Click here to view a complete list of contents

  • What is PHP
  • Introduction to Dynamic web sites
  • Setting up web site files and folder structure for PHP projects
  • PHP syntax
  • Writing basic PHP scripts
  • PHP Language elements
  • Basic form handling – using submitted data in PHP pages as the basis for dynamic content creation
  • Basic PHP project examples

Course Content Detail

  • PHP- What is PHP
  • Introduction to dynamic web sites - dynamic vs. static web content.
  • Sites, Files and Folders – setting up web site files and folders for PHP projects
    • Local requirements
    • Server requirements
  • PHP scripts– writing basic PHP scripts
    • Script block location
    •  Echo – output html content and basic PHP functions, for example Date()
  • PHP syntax
  •  PHP language elements
    • Variables
    • Data Types
    • Operators – arithmetic, assignment, comparison, string
    • Conditional statements – if, else
    • Looping
    • Functions
  • Basic Form Handling using submitted data in PHP pag­es as the basis for dynamic content creation
  • Project Examplesbasic PHP project examples suitable for use in the classroom