Variables in PHP - English
PHP and MySQL Tutorials - English 24
-
1XAMPP in Windows
-
2XAMPP in Linux
-
3Echo Function
-
Variables in PHP
-
5If Statement
-
6Switch Statement
-
7Arithmatic Operators
-
8Comparison Operators
-
9Logical Operators
-
10Arrays
-
11Multi Dimensional Arrays
-
12Loops While Statement
-
13Loops Do While Statement
-
14Loops For Statement
-
15Loops Foreach Statement
-
16Functions Basic
-
17Functions Advanced
-
18GET Variable
-
19POST Variable
-
20Embedding PHP
-
21Common Way to Display HTML
-
22Common Errors Part 1
-
23Common Errors Part 2
-
24Common Errors Part 3
Outline:
Variables in PHP Variables are used for storing values, like text strings, numbers or arrays. When a variable is declared, it can be used over and over again in your script. All variables in PHP start with a $ sign symbol. The correct way of declaring a variable in PHP: $var_name = value;