About this course

What you'll learn

What is Php?

What is Php file?

What can Php do?

Why Php?

Syntax

Basic PHP syntax

Comments in PHP

PHP case sensitive

Variables

Creating PHP variables

Output Variables

Global and Local scope

The Global and Static keyword

Echo/Print

The PHP echo and print statement

Data types

Strings and Integer

Float and Array

Object and Null value

Constants

Create a Php constant

Constants are global

Operators

If...Else...Elseif

The If and If...else statements

The If...Elseif...else statements

Switch statements

While loops

The Php while loop and do...while loop

For loop and For each loop

Create user defined function in Php

Function arguments

Default arguments value

Functions - returning value

Arrays

Indexed arrays

Get the length of an array - the count() function

Loop through an indexed array

Associative arrays and Loop through an associative array

Sorting arrays

Superglobals

$Globals and $_Server

$_Request and $_Post

$_Get