Answers for "case in sql qyery in php"

PHP
2

case statement in php

<?php
switch ($i) {
    case "apple":
        echo "i is apple";
        break;
    case "bar":
        echo "i is bar";
        break;
    case "cake":
        echo "i is cake";
        break;
}
?>
Posted by: Guest on October-19-2020

Browse Popular Code Answers by Language