Please login to start chat

ICT Solutions 2019-01-20 11:18:26
Category : php tutorials

Switch statement in php

$date = 'Sunday';

switch($date){
case 'Saturday';
case 'Sunday';
echo 'It is weekend!';
break;

default;
echo 'It is not weekend day!';
break;
}
?>

Comments:

No comment to show.

Available Services
Download Android Application