Array friends exercise gone wrong


Error message on save & submit: Oops, try again. Did you remember to put at least three elements in your array? Make sure each one is a string in quotes!

    <title>My First Array</title>
        $friends = array("Pete", "Rakesh", "Brandon", "Owen");


put the names of three of your friends in Array,
(even though error says at least 3 but it wont let u pass if u put more than 3 items or less than 3 items)


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