Introduction to PHP

Details

In this PHP training course, you will learn the basics of PHP, which is still one of the most widely used server-side languages on the web. You will start by learning how PHP works and its basic syntax. You will then learn to create dynamic interactive pages, to work with arrays, to process and validate forms, and to write functions in PHP. This will give you the groundwork you need to move on to a more advanced course that covers database-driven websites with PHP and MySQL.

Enrollment Options:

Instructor-Led
6 Weeks Access Course Code: T14527
Start Dates* Sep 18 | Oct 16 | Nov 13 | Dec 18
*Choose start date in cart

$129.00

USD

Enroll before 31th May and get high quality lamination on your hardcopy certificate absolutely free! Use your certificate to your advantage by showing your certified credentials to prospective employers and recruiters.

Syllabus

  1. PHP Basics
    1. Welcome to the Server-side
      1. What is a web server?
      2. Dynamic Websites
    2. Google Chrome DevTools: Network Tab
      1. Status Codes
    3. How PHP Works
      1. The php.ini File
      2. PHP Tags
      3. Hello, World!
    4. Comments
    5. PHP Statements and Whitespace
    6. PHP Functions
    7. php.net
    8. Variables
      1. Variable Types
      2. Variable Names (Identifiers)
      3. Type Juggling and Casting
      4. Hello Variables!
    9. Variable Scope
    10. Superglobals
    11. Single Quotes vs. Double Quotes
    12. Concatenation
    13. Passing Variables on the URL
    14. User-defined Functions (UDFs)
      1. Defining and Calling Functions
      2. Default Values
      3. Variable Scope
      4. By Reference vs. By Value
    15. Introduction to the Poet Tree Club
    16. Including Files
      1. require
      2. require_once
    17. Constants
    18. Error Reporting
    19. Displaying Errors
    20. Including a Secure Configuration File
  2. PHP Conditionals
    1. if / if - else / if - elseif - else
      1. Simple if Condition
      2. if-else Condition
      3. if-elseif-else statement
      4. False Equivalents: Falsy Values
    2. Testing for Variable Existence
    3. Exercise: Checking for Variable Existence
    4. switch/case
    5. Ternary Operator
    6. Null Coalescing Operator
  3. Arithmetic Operators and Loops
    1. Arithmetic Operators
    2. The Modulus Operator
    3. Loops
      1. while
      2. do while
      3. for
      4. break and continue
  4. Arrays
    1. Indexed Arrays
      1. Initializing Arrays
      2. Appending to an Array
      3. Reading from Arrays
      4. Looping through Arrays
    2. Associative Arrays
      1. Initializing Associative Arrays
      2. Reading from Associative Arrays
      3. Looping through Associative Arrays
      4. Superglobal Arrays
    3. Multi-dimensional Arrays
      1. Reading from Two-dimensional Arrays
      2. Looping through Two-dimensional Arrays
      3. Two-dimensional Associative Arrays
      4. Non-tabular Multi-dimensional Arrays
    4. Array Manipulation Functions
    5. in_array() Function
  5. PHP and HTML Forms
    1. HTML Forms
      1. How HTML Forms Work
    2. Form Submissions
    3. Sanitizing Form Data
      1. htmlspecialchars()
      2. htmlentities()
      3. filter_var()
      4. filter_input()
    4. Validating Form Data
      1. Was the Field Filled In?
      2. Is the Entered Value an Integer?
      3. Is it an Email?
      4. Is it a Valid Password and Do the Passwords Match?
      5. Do the Combined Values Create a Valid Date?
      6. Did the User Check the Box?

Requirements

Hardware Requirements:

  • This course can be taken on either a PC or Mac.

Software Requirements:

  • PC: Windows 8 or newer.
  • Mac: OS X Snow Leopard 10.6 or later.
  • Browser: The latest version of Google Chrome or Mozilla Firefox are preferred. Microsoft Edge and Safari are also compatible.

Other:

  • Email capabilities and access to a personal email account.

Prerequisites

There are no prerequisites to take this course.

Instructor

Self-Study

Reviews

About ExpertRating

ExpertRating is an ISO 9001:2015 certified company offering online certification and training services to individuals and companies globally. Over 25 million people have benefited from ExpertRating Online Certifications and assessments. ExpertRating is the winner of the Google SME Hero's award for showing outstanding use of technology in delivering trusted services to thousands of people on a daily basis. Our affordable certifications are an excellent way of demonstrating your knowledge and skills to prospective employers as well as vastly boosting your chances of moving ahead in your business or career.

Company Timeline

Since 2001

Decades of excellence

800+ Skill Tests

World’s largest test inventory

2500+ Companies

Thousands depend on use

25 Million People Tested

10 tests every minute

35 Countries Serviced

Over 1500 clients in the US

86% Reorder Rate

Satisfied clients

We deliver over 3 million online certification tests and online courses annually.

Awards

ExpertRating is a winner of the Google SME Heroes award. This award has been instituted by Google to honor IT companies that have excelled in their domain and have leveraged the internet to grow and expand their businesses in innovative ways.


ExpertRating is an ISO 9001:2015 certified company, which reflects that our courses and tests conform to the highest international quality standards. Our training material is prepared by thorough professionals with years of experience, and goes through several rounds of analysis by expert teams to help develop well-balanced, comprehensive and meaningful content.