Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

switch case

<?php

$i=250;
Switch($i)
{
Case 150:
echo "Value is 150";
Break;

Case 250:
echo "Value is 250";
Break;

Case 350:
echo "Value is 350";
Break;

Case 450:
echo "Value is 450";
Break;

Default:
echo "Enter Correct Value";
Break;
}

?>
Source by www.codeexampler.com #
 
PREVIOUS NEXT
Tagged: #switch #case
ADD COMMENT
Topic
Name
5+5 =