Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

switch php

switch ($element) {
    case 0:
        echo "i es igual a 0";
        break;
    case 1:
        echo "i es igual a 1";
        break;
    case 2:
        echo "i es igual a 2";
        break;
}
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #switch #php
ADD COMMENT
Topic
Name
8+3 =