Search our courses
Training

In this PHP and MySQL training course, students will learn to create database-driven websites using PHP and MySQL or the database of their choice. The class also covers SQL basics.

PHP and MySQL

Course Code

GTLP2

Duration

5 Days

Course Fee

POA

Accreditation

N/A

Target Audience

This PHP and MySQL training course is suitable for those with basic programming skills and HTML experience.

Attendee Requirements

Prior HTML experience is required. Experience in CSS, Basic Programming and XML would be beneficial. The relevant skills are taught in the following courses:

If you have any questions or doubts as to whether you meet the pre-requisites for this course, or indeed are wondering which course best suits you, please Contact Us to discuss your suitability for course attendance.


We are sorry, there is currently no availability on this course.

contact us for more information

Ways to Attend this Course

  • In the Classroom
  • Private Training

Expand all

Course Description

In this PHP and MySQL training course, students will learn to create database-driven websites using PHP and MySQL or the database of their choice. The class also covers SQL basics.

Course Outline

1. PHP BASICS

  1.     How PHP Works
  2.     The php.ini File
  3.     Basic PHP Syntax
  4.     PHP Tags
  5.     PHP Statements and Whitespace
  6.     Comments
  7.     PHP Functions
  8.     Hello World!
  9.     Variables
  10.     Variable Types
  11.     Variable Names (Identifiers
  12.     Type Strength
  13.     Hello Variables!
  14.     Variable Scope
  15.     Superglobals
  16.     Constants
  17.     Variable-Testing and Manipulation Functions
  18.     PHP Operators
  19.     Creating Dynamic Pages
  20.     Single Quotes vs. Double Quotes
  21.     Howdy World!

2. FLOW CONTROL

  1.     Conditional Processing
  2.     If Conditions
  3.     Loops
  4.     while
  5.     do…while
  6.     for
  7.     break and continue

3. ARRAYS

  1.     Enumerated Arrays
  2.     Initializing Arrays
  3.     Appending to an Array
  4.     Reading from Arrays
  5.     Looping through Arrays
  6.     Associative Arrays
  7.     Initializing Associative Arrays
  8.     Reading from Associative Arrays
  9.     Looping through Associative Arrays
  10.     Superglobal Arrays
  11.     Two-dimensional Arrays
  12.     Reading from Two-dimensional Arrays
  13.     Looping through Two-dimensional Arrays
  14.     Array Manipulation Functions

4. PHP AND HTML FORMS

  1.     HTML Forms
  2.     How HTML Forms Work
  3.     A Sample HTML Form
  4.     Form Variables

 5. STRING MANIPULATION

  1.     Formatting Strings
  2.     Concatenation
  3.     String Manipulation Functions
  4.     Examples of String Functions
  5.     Magic Quotes
  6.     magic_quotes_gpc
  7.     magic_quotes_runtime
  8.     Recommendation on Magic Quotes

6. REUSING CODE AND WRITING FUNCTIONS

  1.     Including Files
  2.     require
  3.     require_once
  4.     auto_prepend_file and auto_append_file
  5.     User Functions
  6.     Defining and Calling Functions
  7.     Default Values
  8.     Variable Scope
  9.     By Reference vs. By Value
  10.     Form Processing
  11.     Code Organization

7. SIMPLE SELECTS

  1.     Introduction to the Northwind Database
  2.     Some Basics
  3.     Comments
  4.     Whitespace and Semi-colons
  5.     Case Sensitivity
  6.     SELECTing All Columns in All Rows
  7.     SELECTing Specific Columns
  8.     Sorting Records
  9.     Sorting By a Single Column
  10.     Sorting By Multiple Columns
  11.     Sorting By Column Position
  12.     Ascending and Descending Sorts
  13.     The WHERE Clause and Operator Symbols
  14.     Checking for Equality
  15.     Checking for Inequality
  16.     Checking for Greater or Less Than
  17.     Checking for NULL
  18.     WHERE and ORDER BY
  19.     The WHERE Clause and Operator Words
  20.     The BETWEEN Operator
  21.     The IN Operator
  22.     The LIKE Operator
  23.     The NOT Operator
  24.     Checking Multiple Conditions
  25.     AND
  26.     OR
  27.     Order of Evaluation

8. SUBQUERIES, JOINS AND UNIONS

  1.     Subqueries
  2.     Joins
  3.     Table Aliases
  4.     Multi-table Joins
  5.     Outer Joins
  6.     Unions
  7.     UNION ALL
  8.     UNION Rules

9. INSERTING, UPDATING AND DELETING RECORDS

  1.     INSERT
  2.     UPDATE
  3.     DELETE

10. MANAGING DATA

  1.     Querying a Database
  2.     mysqli() Overview
  3.     mysqli Methods and Properties
  4.     Inserting and Updating Records
  5.     mysqli Prepared Statements

11. MDB2

  1.     Advantages and Disadvantages of MDB2
  2.     Why use a database abstraction layer?
  3.     When not to use a database abstraction layer?
  4.     Using MDB2

12. AUTHENTICATION WITH PHP AND SQL

  1.     A Database-less Login Form

13. REGULAR EXPRESSIONS

  1.     Perl-compatible Regular Expression Functions
  2.     preg_match()
  3.     preg_replace()
  4.     Regular Expression Tester
  5.     Regular Expression Syntax
  6.     Start and End ( ^ $ )
  7.     Number of Occurrences ( ? + * {} )
  8.     Common Characters ( . \d \D \w \W \s \S )
  9.     Grouping ( )
  10.     Negation ( ^ )
  11.     Subpatterns ( () )
  12.     Alternatives ( | )
  13.     Escape Character ( \ )
  14.     Form Validation Functions with Regular Expressions

 14. SESSION CONTROL AND COOKIES

  1.     Sessions
  2.     Configuring Sessions
  3.     Session Functions
  4.     Cookies

 15. SENDING EMAIL WITH PHP

  1.     mail()
  2.     Shortcomings of mail()
  3.     PHPMailer

16. FILE SYSTEM MANAGEMENT

  1.     Opening a File
  2.     fopen()
  3.     Reading from a File
  4.     fgets()
  5.     Writing to a File
  6.     fwrite()
  7.     File Locking
  8.     flock()
  9.     Uploading Files via an HTML Form
  10.     Getting File Information
  11.     More File Functions
  12.     Directory Functions
  13.     Getting a Directory Listing
Learning Path
Ways to Attend
  • Attend a public course, if there is one available. Please check our Schedule, or Register Your Interest in joining a course in your area.
  • Private onsite Team training also available, please Contact Us to discuss. We can customise this course to suit your business requirements.

Sorry, we are not taking bookings on this course at present

If you would like to contact us for more information on this course, you may do so here:

Contact us

Technical ICT learning & mentoring services

Private Team Training

Our instructors are specialist consultants with vast real world experience and expertise allowing them to design and deliver client-focused courses for your organisation.

Learn more about our Private Team Training

What Our Clients Say

“Very interesting course from an excellent instructor. Highly technical and well delivered”

 

Introduction to Modern Security - GTJ50

Dec '17

“Super experience. The instructor spoke with great knowledge and experience. The materials will be invaluable in the real world”

 

Professional Cloud Service Manager Certification training- GTC13

Dec '17

“Very useful course, making complex topics more approachable and the instructor was very good at getting concepts across and engaging with delegates and our specific needs”

 

Optimising Java - GTJ47

Dec '17

“This was an excellent course and I found it very interesting and enjoyable.  The instructor was a font of knowledge on all aspects of Big Data and Analytics and was enthusiastic about sharing his knowledge”

 

Applied Data Science and Big Data Analytics - GTBD7

Nov '17

“The instructor was fantastic at explaining lessons with applicable work type examples.  He was enthusiastic with what he was teaching which made learning the course more enjoyable”

 

Linux Essentials Certification - GTU2

Oct '17

"Intelligence is the ability to avoid doing work, yet
getting the work done"

Linus Torvalds, creator of Linux and GIT

Technical ICT learning & mentoring services

About GuruTeam

GuruTeam is a high-level ICT Learning, Mentoring and Consultancy services company. We specialise in delivering instructor-led on and off-site training in Blockchain, Linux, Cloud, Big Data, DevOps, Kubernetes, Agile, Software & Web Development technologies. View our Testimonials

Download our eBrochure
Our Accreditation Partners
Upcoming Courses

Kubernetes Administration

19 - 22 Mar - LONDON

1 - 4 Apr - DUBLIN

This Kubernetes Administration Certification training course is suitable for anyone who wants to learn the skills necessary to build and administer a Kubernetes cluster

Learn More

CompTIA Network+ FastTrack

11 - 13 Mar

CORK

This fast-paced course teaches the essentials of networking and helps to prepare the student for the CompTIA Network+ certification.

Learn More

Cloud Service Manager

29 - 31 Jan

DUBLIN

ITIL in the Cloud certification training, accredited by the Cloud Credential Council

Learn More

Introduction to Python 3

11 - 13 Mar

DUBLIN

Python is a powerful and popular object-oriented programming/scripting language with many high quality libraries.

Learn More

Newsletter

Stay up to date, receive updates on scheduled dates, new courses, offers, and events.

Subscribe to our Newsletter