Ace Ventura: Pet Detective


    $characters = array();
   
    $characters['good'] = 'Finkle';
    $characters['bad'] = 'Einhorn';
   
    $situation = 'Realisation';
   
    if($situation == 'Realisation'){
        echo 'Einhorn is ' . $characters['good'];
        echo 'Finkle is ' . $characters['bad'];
        echo $characters['bad'] . 'is a man?!?!?!';
    }
?>
Vote up this code1
  • Lindsay

    Common coding mistake: ‘is a man?!?!?!’ should be ‘ is a man?!?!?!’