Call us on  08000 199337 From overseas call +44 20 7264 2185

Programming

PHP Programming & MySQL for Web Development

Course Duration: 5 days

Book online today or if you need any assistance or help chosing the right course for you, please call our team on 08000 199337 and we will help point you in the right direction.

Virtual

Course Duration: 5 days

From +Vat

View dates and book

Private Course: Click Here

Classroom

Course Duration: 5 days

From +Vat

View dates and book

Private Course: Click Here

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

Read More

The delegate will learn and acquire skills as follows:
• Declare variables and initialise them
• Construct expressions with arithmetic, logical and relational operators
• Use iterative type statements
• Use conditional statements
• Read/write text and binary files
• Manipulate text using regular expression
• Use and code functions
• Use built-in library functions
• Use arrays and hashes
• Create and use external PHP Code
• 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

Who will the course benefit?

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

Read Less

Entry Requirements

• PHP Programming
• Introduction to MySQL

Follow-On Courses

• Apache Web Server
• Perl Programming
• Python Programming 1
• Ruby Programming
• Ruby on Rails

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.

Exam

There is no exam requirement for this course.

Course Objectives

On completion of the PHP & 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.

Syllabus – Key points

Course Contents – DAY 1

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

Session 1: HISTORY OF PHP
• Installing PHP
• General Requirements
• UNIX based Systems
• Windows based Systems
• Integrated Development Environment (IDE)

Session 2: 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

Session 3: PHP VARIABLES
• 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
• Variable Scoping
• Global Keyword
• Static Keyword
• Super Globals
• Constants
• Variable Variables
• Operators
• Assignment Operators
• Increment/Decrement Operators
• Arithmetic Operators
• String Operators
• Comparison Operators
• Logical Operators

Course Contents – DAY 2

Session 4: CONTROL STRUCTURES
• Statement Blocks
• If Construct
• Else Keyword
• Elseif Keyword
• Looping Constructs
• While Loop
• Do-while Loop
• For Loop
• Foreach Loop
• Loop Control Words
• Break
• Continue

Session 5: REGULAR EXPRESSIONS
• Meta-Characters
• Backslash
• Unicode Character Properties
• Circumflex and Dollar
• Full Stop
• Square Brackets
• Vertical Bar
• Multipliers
• Subpatterns
• Repetition
• Pattern Matching with ereg and eregi
• Pattern Matching with preg_match
• Splitting Text
• Switch

Session 6: PHP ARRAYS
• Syntax
• Creating/Modifying with Square-Bracket Syntax
• Array Functions
• Pitfalls when using Arrays
• Using a Return value as a Key
• Converting to Array
• Sorting an Array
• Multi-Dimensional Arrays
• Example
• Creating a new Multi-Dimensional Array

Course Contents – DAY 3

Session 7: PHP FUNCTIONS
• Conditionally Created Functions
• Functions Created Inside Functions
• Argument Passing by Value
• Argument Passing by Reference
• Returning Values
• Including External PHP Functions

Session 8: PHP OBJECT ORIENTED
• Classes and Inheritance
• Classes
• Inheritance
• Keywords

Session 9: PHP & PEAR
• What is PEAR?
• Command Line Package Installer
• Fully-Automatic Installation
• Semi-Automatic Installation
• What is PECL

Session 10: PHP & HTML
• HTML/PHP Examples

Course Contents – DAY 4

Session 11: PHP CONFIGURATION
• Working with External Files
• Error Reporting
• Interacting with External Programs

Session 12: BASIC SQL STATEMENTS
• Creating Databases and Tables
• Inserting Data into Tables
• Viewing Tables
• UPDATE
• Drop

Session 13: CONNECTING TO MySQL
• mysqli_connect
• mysqli_error
• Die

Session 14: USING PHP TO PERFORM DATABASE FUNCTIONS
• Inserting Data into a Database
• Creating Queries
• Executing Queries
• Processing the Returned Query Data
• Updating the Database

Course Contents – DAY 5

Session 15: GENERATING HTML USING PHP
• PHP Inside HTML
• HTML Form with Embedded PHP
• Multiple HTML Pages/Forms with PHP

Session 16: EMAIL AND COOKIES USING PHP
• Generating Email using PHP
• Generating Cookies using PHP
• Using Cookies

Session 17: PHP AND DATABASE SECURITY
• Designing Databases
• Connecting to Database
• Encrypted Storage Model
• SQL Injection
• Security Techniques
• Error Reporting
• User Submitted Data

Reviews

There are no reviews yet.

Be the first to review “PHP Programming & MySQL for Web Development”

Course dates

Start DateExam IncludedPrice (excl VAT)Qty 
Start Date: Sep 12, 2022Exam Included: Course + No ExamPrice (excl VAT):

£1,495.00

Quantity:
Start Date: Nov 14, 2022Exam Included: Course + No ExamPrice (excl VAT):

£1,495.00

Quantity:
Start Date: Jan 23, 2023Exam Included: Course + No ExamPrice (excl VAT):

£1,495.00

Quantity:

Frequently asked questions

A Pearson VUE exam voucher enables you to book and sit your exam at your local Pearson VUE testing centre at a time and date convenient to you.  Pearson VUE centres are worldwide, and you will be able to choose the closest testing centre to you. You then go along to the test centre with your photo ID at the specified date and time and you will then take an electronic exam. Your exam voucher will have an expiration date and your exam must be sat before this date as these vouchers cannot be extended.