Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

switch case php

<?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 #php
ADD COMMENT
Topic
Name
6+6 =