The if condtional statement execute block of code when condition is true.
Syntax
if (condition){
Code to be executed
}
Example
$a=5;
$b=3;
if($a>$b){
echo "a is bigger than b";
}
Copyright ©2022 coderraj.com. All Rights Reserved.