7/27/2019 Data Types and Control Structure
1/27
PHP
Data Types and Control Structures
7/27/2019 Data Types and Control Structure
2/27
7/27/2019 Data Types and Control Structure
3/27
7/27/2019 Data Types and Control Structure
4/27
7/27/2019 Data Types and Control Structure
5/27
7/27/2019 Data Types and Control Structure
6/27
7/27/2019 Data Types and Control Structure
7/27
7/27/2019 Data Types and Control Structure
8/27
7/27/2019 Data Types and Control Structure
9/27
7/27/2019 Data Types and Control Structure
10/27
7/27/2019 Data Types and Control Structure
11/27
7/27/2019 Data Types and Control Structure
12/27
Note:
$var4=0;
$var4=0;$var4=NULL;
- all these values will
have the same result
7/27/2019 Data Types and Control Structure
13/27
7/27/2019 Data Types and Control Structure
14/27
Note:Constant cant be changed, instead use
the variable:
$max_width += 1;
echo $max_width;
7/27/2019 Data Types and Control Structure
15/27
Note: You can also use, == and !=
7/27/2019 Data Types and Control Structure
16/27
7/27/2019 Data Types and Control Structure
17/27
7/27/2019 Data Types and Control Structure
18/27
Continuation:
7/27/2019 Data Types and Control Structure
19/27
7/27/2019 Data Types and Control Structure
20/27
7/27/2019 Data Types and Control Structure
21/27
7/27/2019 Data Types and Control Structure
22/27
7/27/2019 Data Types and Control Structure
23/27
7/27/2019 Data Types and Control Structure
24/27
7/27/2019 Data Types and Control Structure
25/27
7/27/2019 Data Types and Control Structure
26/27
7/27/2019 Data Types and Control Structure
27/27