PHP Programming & MySQL for Web Development

Course Code: PHPPMWD

Duration: 5 days

 
 
 
 

PHP Programming & MySQL for Web Development Course Overview

The PHP Programming & MySQL for Web Development course is designed to give delegates the knowledge to develop/maintain PHP scripts utilizing the MYSQL database system and HTML.

Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.

Course Objectives

On completion of the PHP Programming & MySQL for Web Development course the delegate will have a good practical knowledge of how to write successful HTML/PHP code utilising a MySQL database.

Who will the Course Benefit?

UNIX and Windows Users, Web Developers and Programmers wishing to create web based systems utilising PHP and MySQL.

Skills Gained

The delegate will learn and acquire skills as follows:

  • Declare variables and initialise them
  • Read/write text and binary files
  • Construct expressions with arithmetic, logical and relational operators
  • Use built-in library functions
  • Use indexed and associative arrays
  • Use conditional statements
  • Use iterative type statements
  • Use and code functions
  • Create and use external PHP Code
  • Manipulate text using regular expression
  • Define and use classes and objects
  • PHP Configuration
  • Basic SQL Syntax
  • Connect to a MySQL Database with Error Checking
  • Use PHP to Interact with a MySQL Database
  • Utilise PHP with the HTML Environment
  • Work with Email and Cookies
  • Consider Security Implications when using PHP and MySQL

PHP Programming & MySQL for Web Development Training Course

Course Introduction

  • Administration and Course Materials
  • Course Structure and Agenda
  • Delegate and Trainer Introductions

Session 1: PHP LANGUAGE BASICS

  • Programming Basics
  • Comment markers
  • PHP Tags
  • Output Commands
  • Using STDIN STDOUT and STDERR
  • Using Files
  • Include_path
  • Opening files
  • Reading files
  • Writing to Files
  • RTRIM
  • Operators
  • Assignment Operators
  • Increment/Decrement Operators
  • Arithmetic Operators
  • String Operators
  • Comparison Operators
  • Logical Operators

Session 2: PHP VARIABLES AND ARRAYS

  • Naming Rules
  • Data Types
  • Numerical
  • Integer
  • Floating Point Numbers
  • Floating Point Precision
  • Single Quoted Strings
  • Double Quoted Strings
  • Creating and Assigning Variables
  • Assigning Values to Variables
  • Type Conversion
  • Super Globals
  • Constants
  • Variable Variables
  • Creating/modifying indexed and associative arrays
  • Multi-Dimensional arrays
  • Using array functions
  • Sorting an array

PHP Programming & MySQL for Web Development Training Course

Session 3: CONTROL STRUCTURES

  • Statement Blocks
  • If Construct
  • Else Keyword
  • Elseif Keyword
  • Switch
  • Looping Constructs
  • While Loop
  • Do-while Loop
  • For Loop
  • Foreach Loop
  • Loop Control Words
  • Break
  • Continue

Session 4: PHP FUNCTIONS

  • Overview
  • Variable Scoping
  • Global Keyword
  • Static Keyword
  • Argument Passing by Value
  • Argument Passing by Reference
  • Returning Values
  • Including External PHP Functions
  • Conditionally Created Functions
  • Functions Created Inside Functions

Session 5: REGULAR EXPRESSIONS

  • Meta-Characters
  • Sequences
  • Sets
  • Pattern Matching with ereg and eregi
  • Pattern Matching with preg_match
  • Splitting Text - preg_split
  • Replacing Text - preg_replace

PHP Programming & MySQL for Web Development Training Course

Session 6: PHP OBJECT ORIENTED

  • PHP Object Orientated Concepts
  • Creating Classes and Objects
  • Constructor and Destructor functions
  • Inheritance
  • Access Modifiers

Session 7: PHP & PEAR

  • What is PEAR?
  • Command Line Package Installer
  • Fully-Automatic Installation
  • Semi-Automatic Installation
  • What is PECL?

Session 8: PHP & HTML

  • HTML/PHP Examples

PHP Programming & MySQL for Web Development Training Course

Session 9: PHP CONFIGURATION

  • Working with External Files
  • Error Reporting
  • Interacting with External Programs

Session 10: BASIC SQL STATEMENTS

  • Creating Databases and Tables
  • Inserting Data into Tables
  • Viewing Tables
  • UPDATE
  • Drop

Session 11: CONNECTING TO MySQL

  • mysqli_connect
  • mysqli_error
  • Die

Session 12: USING PHP TO PERFORM DATABASE FUNCTIONS

  • Inserting Data into a Database
  • Creating Queries
  • Executing Queries
  • Processing the Returned Query Data
  • Updating the Database

PHP Programming & MySQL for Web Development Training Course

Session 13: GENERATING HTML USING PHP

  • PHP Inside HTML
  • HTML Form with Embedded PHP
  • Multiple HTML Pages/Forms with PHP

Session 14: EMAIL AND COOKIES USING PHP

  • Generating Email using PHP
  • Generating Cookies using PHP
  • Using Cookies

Session 15: PHP AND DATABASE SECURITY

  • Designing Databases
  • Connecting to Database
  • Encrypted Storage Model
  • SQL Injection
  • Security Techniques
  • Error Reporting
  • User Submitted Data
Notes:
  • Course technical content is subject to change without notice.
  • Course content is structured as sessions, this does not strictly map to course timings. Concepts, content and practicals often span sessions.

Requirements

Delegates attending this course should have some previous programming experience and be able to define general programming concepts including: compilation, execution, variables, arrays, sequence, selection, iteration, functions, objects, and classes. Moreover delegates should be able to navigate the filesystem (on the command line ideally), edit and save text files and browse the web. This knowledge can be obtained by attendance on the pre-requisite Introduction to Programming course.

Pre-Requisite Courses

Course Reviews

Fantastic course. Kevin was very knowledgeable , professional and patient. Great tutor and enjoyed the course. Thanks for all the extra help and info too. Greatly appreciated :-)

Chris - Software Developer

Was a brilliant Trainer and helped me through every issue I came across and answered all questions I had no matter how complicated I made them. would 100% recommend the course to anyone wanting a head start in PHP programming.

max - QA tester & Junior Developer

Second time I've had a course run by Kevin and to be honest I cant fault them. He always goes into depth and doesn't mind explaining a problem in detail. He accommodates for everything you may need and gets across as much detail as possible in a way in which you can understand it and take it in. Cant recommend him enough!

Ryan

A great week of learning, made much easier by the skill and means of imparting information by the instructor.

Roger - Head of Corporate and Forestry Support - Government

The instructor's explanations were excellent. Atmosphere was great. Showing the scripts on the screen when explaining, made understanding and learning much easier. Really great examples. Overall, a great course and a fantastic lecturer.

Jose - Application software developer - Professional Services

I would like to thank the trainer for the professional and friendly way. I wish to attend another training next year to improve my programming ability with StayAhead Training. Best Regards.

Mazin - Administrative Assistant - Government

Public Scheduled Events

Classroom & Live Virtual Instructor-Led Training

Duration: 5 days

Price: £2,100.00 exc. VAT 


Start Date Options Spaces  
03 Jun 2024
StayAhead Virtual Courses available 
Spaces Book Now 
29 Jul 2024
StayAhead Virtual Courses available 
Spaces Book Now 
23 Sep 2024
StayAhead Virtual Courses available 
Spaces Book Now 
18 Nov 2024
StayAhead Virtual Courses available 
Spaces Book Now 
 

Live Virtual Classroom

 
Join live instructor-led classroom training from the comfort of your home or office.
All the convenience and benefits of the classroom experience without the hassle and costs of travel and accommodation.
 
 



Our Customers Include

 
EDF
Amazon
American Express
Aviva
QA
BAE
University of Cambridge
Barnardo's
Scottish Government
Bauer
Bloomberg
BP
HSBC
DVLA
GlaxoSmithKline
Government Campus
Capita
Tui
NHS
Ordnance Survey
Ministry of Defence
Zurich Insurance Group
trainline
Vodafone
 
 



Our Course Curriculum

 
 
 
+44 (0)20 7600 6116
Enquiries@StayAhead.com
Copyright © 2024 StayAhead Training Ltd
Cookies   /   Privacy Policy