Code:
<?php
/*
coditional statement
if statement
if else statement
if elseif else statement
switch statement
*/
$x = 6;
switch($x){
case 1:
print "one";
break;
case 2:
print "two";
break;
case 3:
print "three";
break;
default:
print "Sorry you entered wrong choice";
}
?>
Comments
Post a Comment