3 if elseif condition

if elseif condition 

<?php


$age = 4;

if($age>18){
    echo "you can drink water with chai and alcohol";
}elseif($age>13){
    echo "you can drink chai only with water. No alcohol for you";
}else{
    echo "you can drink water only";
}

?>

Comments

Popular posts from this blog

2 Operators

2 String Function folder 2