Trying to figure out whats wrong with this syntax
<?php
$ImusSays = array('says' =>'those are some','says'=>'nappy headed','says'=>'hoes.');
foreach($ImusSays['hair'] as $var)
{
echo $var." ";
}
echo "</br> therefore Imus is FIRED!";
?>
I get this error
Warning: Invalid argument supplied for foreach() in C:\www\apache\htdocs\test.php on line 10
whats the problem. What exactly is the invalid argument suppied.