All on yourown anyone help me


#1

<?php
$neverGiveup = 2;

switch($neverGiveup) {
    case 1:
        echo "goodboy";
        break;
    case 2:
        echo "goodboy2";
        break;
    case 3:
        echo "goodboy3";
        break;
    default:
        echo "you are supercoolguys";
}

?>

#2

Hi!

I don't see any error in your code. Are you getting any error message(s)?

Thank you. :wink:


#3

<?php
$neverGiveup = 2;

switch($neverGiveup) {
case 1:
echo "goodboy";
break;
case 2:
echo "goodboy2";
break;
case 3:
echo "goodboy3" yes i find my error i forgot semicolon in this lins so can not rub but thanks
break;
default:
echo "you are supercoolguys";
}


#4

Aii.. Good you did.

Have fun coding! :smile:


#5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.