0

I have this array:

        $familia = array
        (
            "JONATHAN"=>"HERMANO",
            "Joan"=>"hermana",
            "Ruth"=>"mama",
            "Alejandro"=>"papa"
        );

I want to extract just one value from the array, for example("Jonathan"=>"hermano"), to do echo JONATHAN es mi HERMANO

I know that is common to use "foreach" and "as", but i just want one value.

JPgiq
  • 74
  • 9

0 Answers0