PHP – Back to Basics 1

How PHP works 2

How PHP Code is processed. 2

PHP Tags 2

Comments in PHP. 3

Code Placement 4

Processing Tasks 4

Display Tasks 5

Adding Code in a Logical Order 5

Creating Simple Output with PHP. 6

Sending Output to a Browser 6

Variables in PHP. 7

Operators and Expressions 9

The Assignment Operator 9

Arithmetic Operators 10

Operator Precedence. 10

Combined Assignment Operators 10

The Concatenation Operator 11

Adding or Subtracting 1 to an Integer 11

Comparison Operators 12