Sun Oct 05, 2008 8:16 pm
<?php $number = 1;
echo "my number is $number<br />";
switch ($number){
case 1:
echo "your team is x";
break;
case 2:
echo "your team is y";
break;
case 3:
echo "your team is z";
break;
case 4:
echo "your team is e";
break;
case 5:
echo "your team is r";
break;
}
my number is 1
your team is x
<?php $number = 132;
echo "my number is $number<br />";
switch ($number){
case 1:
echo "your team is x";
break;
case 2:
echo "your team is y";
break;
case 3:
echo "your team is z";
break;
case 4:
echo "your team is e";
break;
case 5:
echo "your team is r";
break;
default:
echo "your number is not recorded !";
break;
}
my number is 132
your number is not recorded !
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.