Tables

Tables These are variables containing a structured set of variables. For those variables is accessed by a number in brackets given immediately after the variable name – the array. This…

READ MORE

Syntax switch

Syntax switch Syntax switch is a conditional statement, but one variable can be compared not with one value, but with a few. You can  not construct complex conditions – can…

READ MORE

Do … while loop

Do … while loop The commands contained in the loop will be executed at least once – in the case of the while loop need not be so. If the…

READ MORE

The While Loop

The while loop Another type of loop is WHILE loop. It is used in situations where it is necessary to perform an operation until the condition. Example <? php while…

READ MORE

FOR LOOP

FOR loop Sometimes you need to perform an action specified number of times. It is used for the FOR loop. The overall record looks like this: Example <? php for…

READ MORE

Conditional Statements

Conditional Statements Is used to execute a user (or a block of instructions), but only under certain circumstances – predetermining condition is met (or the whole set of conditions). Example…

READ MORE

Operators

The operators are symbols that are used to manipulate variables. Operators are divided into: 1. The arithmetic operations that are used for numbers. 2. assignment for assigning a value to…

READ MORE

Permanent

Permanent There are also so-called. constant, or character identifiers whose values can not be changed. Permanent is used without a dollar sign at the beginning. Permanent set by PHP __FILE__…

READ MORE

Changing the type

Changing the type It is usually not necessary to determine the type of the variable – PHP itself is determined, depending on the context. When assigning a variable a new…

READ MORE

variable types

variable types • integers (integer) • real numbers (double) • strings (string) • arrays (array) • objects (object) PHP is able to convert the integers stored in different formats numbers.

READ MORE