Main.php
Download
<?php $game = "Cricket"; switch ($game) { case "Cricket": echo "Sachin belongs to cricket!"; break; case "Hockey": echo "Dhayan Chand belongs to Hockey"; break; case "Tennis": echo "Mahesh Bhupathi belongs to Tennis!"; break; default: echo "Players neither belongs to Cricket, Hockey, nor Tennis!"; } ?>
Sachin belongs to cricket!