PHP PHP Arrays and Control Structures PHP Loops For Looping

Alejandro Domingo
Alejandro Domingo
PHP Development Techdegree Student 880 Points

don't work

don't work

index.php
<?php
$facts = array(
    57 => ' on Heinz ketchup bottles represents the number of varieties of pickles the company once had.',
    2 => ' is the approximate hours a day Giraffes sleeps',
    18 => ' is the average hours a Python sleeps per day',
    10 => ' per cent of the world is left-handed.',
    11 => ' Empire State Buildings, stacked one on top of the other, would be required to measure the Gulf of Mexico at its deepest point.',
    98 => '% of the atoms in your body are replaced every year',
    69 => ' is the largest number of recorded children born to one woman',
);
//add your loop below this line
Jeffrey Howard
Jeffrey Howard
16,651 Points

Hi Alejandro,

I'd be happy to assist with this challenge. Please explain or show where your code isn't working and I can hopefully point you in the write direction.