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;
}
 
PREVIOUS NEXT
Tagged: #switch #php
ADD COMMENT
Topic
Name
4+8 =