if statement or single if statement in php <?php$num=21;if($num==21) { echo 'number is 21<br>'; }if($num==20) { echo 'numbet is 20<br>'; }?>output : number is 21 Email This BlogThis! Share to X Share to Facebook