Choose your language:

France
Germany
Hong Kong
India
Ireland
Japan
Malaysia
Netherlands
New Zealand
Singapore
Sweden
United Kingdom
United States

Intro to PHP

Course Code

IN1380

Duration

2 Days

None
This course lays the basic foundation for using PHP. No prior knowledge of PHP is required. The course starts with PHP tags, line syntax, and using "heredocs". Then variables, Arrays, and Constants are covered. Once the base elements are understood participants learn how to use the programming syntax of PHP. Flow control is presented with numerous examples. Finally writing and incorporating PHP functions is described.
This course is designed for individuals who are web developers.

Upon completion of this course, participants will be able to:

  • Write web pages using PHP
  • Process forms, make conditional checks, and use programming logic
Using the PHP tags
<?php ?> <? ?> <% %>

Line syntax
Line terminator
Concatenation
Comments
Heredocs

Variables
Assigning variables by value
Assigning variables by reference
Variable scope
Constants

Arrays
Superglobals
The $_GET and $_POST arrays
Numeric
Associative
Creating an array
Outputting an array
Accessing array elements
Traversing an array

Formatted output
Printf( )
Sprintf( )

Operators
Assignment
Arithmetic
Concatenation
Combined
Logical
Precedence

Control Statements
Execution
Conditional
Looping
File inclusion

Includes
Include and include_once
Require and require_once

Functions
Creating a function
Passing arguments by value
Passing arguments by reference
Default argument values
Returning values
Send Us a Message
Choose one